How can you make sure that your singleton class will always return single instance in multi-threaded environment?


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

Post New Answer

More Core Java Interview Questions

What are keywords give examples?

0 Answers  


Is a copy constructor?

0 Answers  


What are methods and how are they defined?

0 Answers  


What is an accessor?

1 Answers   BirlaSoft,


how to prepare for IT Officers Interview in Banks

0 Answers   TATA, Tata Steel Limited,


how to handled exceptions & erros in ejb?

1 Answers   Satyam,


How is a variable stored in memory?

0 Answers  


What is the use of beaninfo?

0 Answers  


What about instanceof operator in java?

0 Answers  


What is abstract class constructor called?

0 Answers  


How does arraylist work in java?

0 Answers  


can any one tell me what is advantage of encapsulation

2 Answers  


Categories