Give a practical example of singleton class usage?


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

Post New Answer

More Core Java Interview Questions

What is the size of boolean variable?

0 Answers  


What is difference between char array and string?

0 Answers  


Why are the methods of the Math class are static?

1 Answers  


Why we use static and synchronized in method for single thread model example: public static synchronized add(){}

2 Answers  


What is the meaning of find and replace?

0 Answers  






Can java list contain duplicates?

0 Answers  


What is the difference between overloading and overriding a function?

13 Answers   eG Innovations, Infosys, TCS,


What collections you have worked on? Internal working of Hashmap?

1 Answers   Bravura Solutions,


What 4 doubled?

0 Answers  


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

0 Answers  


Can we have return statement in finally clause? What will happen?

0 Answers  


Why do we need autoboxing in java?

0 Answers  


Categories