I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
No Answer is Posted For this Question
Be the First to Post Answer
What is formatted output in java?
What releases of Java technology are currently available? What do they contain?
What are runtime exceptions?
How to perform binary search in java?
How to display names of all components in a Container?
How do you sing an Applet ?
List implementations of list interface?
Can constructor be protected in java?
What is map java?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
How are destructors defined in java?
What is a consumer in java?