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

Post New Answer

More Core Java Interview Questions

Is Java Platform Independent if then how?

5 Answers  


Which browsers work with java?

0 Answers  


what is singleton in java?

0 Answers   IBS,


Why is string builder not thread safe?

0 Answers  


What are benefits of java?

0 Answers  


Can you pass by reference in java?

0 Answers  


How does multithreading take place on a computer with a single cpu?

0 Answers  


garbate collector(GC)?

4 Answers  


What is character in data type?

0 Answers  


Write the algorithm to check the number non-leaf nodes in a tree.

0 Answers   Amdocs,


What is the difference between conversation & casting?

0 Answers  


Why operator overloading is not in Java?

0 Answers  


Categories