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

What is Java Shutdown Hook?

0 Answers  


can we write a program with out a class in core java?

11 Answers   Wipro,


What is the difference between array and array list in java?

0 Answers  


Explain what is Marker interface?

0 Answers   BirlaSoft,


What access modifiers can be used for variables?

0 Answers  






What is difference in between java class and bean?

0 Answers  


What do you mean by pointer value and address?

0 Answers   Syntel, Visa,


What is singleton class?

16 Answers   3i Infotech, 7 Seas, ABC, Amdocs, Cap Gemini, Oracle, Persistent, TCS, Techforza,


How many statements can be created with one connection in jdbc?

4 Answers   Polaris,


write a program to create an vector and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,


What is an immutable object? How do you create one in java?

0 Answers  


Can you call a private data from an inner class?

6 Answers  


Categories