Can a class be declared as static?
No Answer is Posted For this Question
Be the First to Post Answer
when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.
What is an immutable class?
Is math class static in java?
Can we return null in java?
Explain constructors and types of constructors in java.
What is the meaning of variables in research?
What is multiple inheritance & can we implement it in java?
How do you generate random numbers in java?
What is the inheritance?
What is the flag in java?
Explain the difference between the public, private, final, protected, and default modifiers?
Can you declare the main method as final?