How can we create objects if we make the constructor private ?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

what is the purpose of "virtual"?

0 Answers   EDS,


How are the elements of a gridbaglayout organized in java programming?

0 Answers  


Can you have an inner class inside a method and what variables can you access?

2 Answers  


We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.

0 Answers   Symphony,


Is java pass by value or pass by reference?

0 Answers  






What are MalformedURLException and UnknownHost Exceptions and whey they will be thrown?

2 Answers  


What does the @override annotation do?

0 Answers  


can we override the main() method in java????

3 Answers   Vimukti Technologies,


Is Java Class Threadsafe ????? How to make Java class Thread safe??

2 Answers   Cognizant,


List out benefits of object oriented programming language?

0 Answers  


What is the diffrence between inner class and nested class?

0 Answers  


Mention some interfaces implemented by linked list in java.

0 Answers  


Categories