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

Which types of exceptions are caught at compile time?

0 Answers  


Can we instantiate Interfaces?

7 Answers   Ericsson,


How to read and write image from a file ?

0 Answers  


How the metacharacters are different from the ordinary characters?

0 Answers  


What do you mean by inner class in java?

0 Answers  






Can we override constructors in java?

0 Answers  


Which graphs are functions?

0 Answers  


What is methods in java?

0 Answers  


what is method reference in java 8?

0 Answers  


Explain OOPs concept.

0 Answers   Syntel, Visa,


What is var keyword ?

0 Answers   Wipro,


Ducking is automatic in checked exception?True or false

2 Answers  


Categories