I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between length and size in java?
class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?
What are constants and how to create constants in java?
what is the purpose of the final in the try-catch-final
What is a dot notation?
Can java inner class be static?
Explain throw keyword in java?
What is meant by collection in java?
What are the characteristics provided in jdk1.6 apart from other versions?
Can java run on google chrome?
Why stringbuilder is not thread safe?
What is an enumeration class?