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

Post New Answer

More Core Java Interview Questions

what is the difference between java and j2ee... is that can i work j2ee on net beans IDE 6.0

2 Answers  


How many bytes is string in java?

0 Answers  


What are blocks?.

1 Answers   TCS,


Explain illegalmonitorstateexception and when it will be thrown?

0 Answers  


How to extract HashMap values?

5 Answers   Marlabs,






What is off heap memory?

0 Answers  


why java main method is given as static method?

2 Answers  


What do you mean Abstraction in java?

0 Answers   Aspire, Infogain,


Can we override the main method?

4 Answers  


What is the method used to get the absolute value of a number?

2 Answers  


what is the difference between sleep() and Wait()?

10 Answers   Accenture, Amdocs,


what is the difference between the methods sleep() and wait()? : Java thread

0 Answers  


Categories