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 functional interface in java?

0 Answers  


What is java and their uses?

0 Answers  


Hai friends I am MCA 2006 passout. Spend time in 1 yr for teacing and 5 months in small s/w firm. worked in 4 or 5 months in few places. Presently I am writing bank exams. I want to get back to IT sector. Are there any possibilities. any growth prospects?. I am having some knowledge in core and advanced java. I am so desperate. Any suggestions thanks in advance. u can write to my mail mahidestiny@gmail.com

4 Answers  


How many types of memory areas are allocated by JVM in java?

0 Answers   UGC Corporation,


What are E and PI?

1 Answers  


Explain the importance of throwable class and its methods?

0 Answers  


What do you mean by the term transient?

5 Answers   Ericsson,


Can singleton class be inherited in java?

0 Answers  


What is a linkedhashmap java?

0 Answers  


Where is the singleton class used?

0 Answers   Cap Gemini,


What is Java Annotations?

0 Answers  


what is difference between colection and collections?

25 Answers   Amdocs, IBM, Infosys, Ipog Software, Polaris, Tech Mahindra,


Categories