Why is singleton not thread safe?
No Answer is Posted For this Question
Be the First to Post Answer
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
Explain static nested classes ?
What is meant by method overriding?
How many types of JVM's (OR) Name of the JVM's which are used in Tomcat & Weblogic servers ?
what is the collable collections in java?
Name the method of a Container that can be used to cause a container to be laid out and redisplayed?
what is the use of declaring constructor as private?
5 Answers Cyient, IVY Technologies, Sai Softech, Virtusa,
how to print the below in java? * * * * * * * * *
What if constructor is protected in java?
What is java command?
What is the difference between a Window and a Frame?