Why is singleton not thread safe?
No Answer is Posted For this Question
Be the First to Post Answer
What is the method in java?
What is a function in java?
How many types of threads are there in java?
What are the Main functions of Java?
0 Answers Akamai Technologies,
class A { class B { psvm(String args[]) { } } } if the prg saved in A.java whats the o/p?
What is Map interface?
Are floats faster than doubles?
Difference between concurrent hashmap and hashtable and collections
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
Explain about anonymous inner classes ?
What is the basically use of finally while we know it is always executed but why?
class test { private static void main(String []adsf) { } } explain me that the above code is error or exception