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 will happen when using pass by reference in java?
How many types of flags are there?
what is difference between validation.xml & validation rules.xml?
Is age a discrete variable?
What is a super method?
What is the most important feature of java? What is an interface?
How to display arraylist values in java?
When is finally block not called?
Can abstract class have private constructor?
What is t type java?
What is diamond operator in java?
What are multiple inheritances?