Why is singleton not thread safe?


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

Post New Answer

More Core Java Interview Questions

What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).

2 Answers   Infinite Computer Solutions, TCS,


What is the difference between Abstract Class and Interface

8 Answers   Amdocs,


Explain static nested classes ?

0 Answers  


What is meant by method overriding?

0 Answers  


How many types of JVM's (OR) Name of the JVM's which are used in Tomcat & Weblogic servers ?

1 Answers   TCS,






what is the collable collections in java?

2 Answers   Persistent,


Name the method of a Container that can be used to cause a container to be laid out and redisplayed?

1 Answers  


what is the use of declaring constructor as private?

5 Answers   Cyient, IVY Technologies, Sai Softech, Virtusa,


how to print the below in java? * * * * * * * * *

2 Answers  


What if constructor is protected in java?

0 Answers  


What is java command?

0 Answers  


What is the difference between a Window and a Frame?

6 Answers   Infosys, ProKarma,


Categories