If you do not want your class to be inherited by any other class. What would you do?
No Answer is Posted For this Question
Be the First to Post Answer
How do you find the independent variable?
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?
What is a boolean output?
What is jpa specification?
Does string is thread-safe in java?
if a java file without any source code is valid java file?
Is it possible to write method inside method
Difference between collection, collection and collections in java?
Tell me about different OOPS concepts.
Differentiate between stringbuffer and string?
What is constructor chaining in java?
What do you mean by stack?