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 nan in java?

0 Answers  


adapter class ?

2 Answers  


What is identifier in java?

0 Answers  


What is the difference between the ">>" and " >>>" operators in java?

0 Answers  


Explain access modifiers in java.

0 Answers  






In what ways you can handle exception ?

3 Answers  


When does an object becomes eligible for garbage collection in java?

0 Answers  


Is object a data type?

0 Answers  


What is int short for?

0 Answers  


What is an Applet ?

2 Answers  


What is the collection interface?

0 Answers  


how can we synchronize Hash map?

3 Answers   CTS,


Categories