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
What are byte codes?
What is a vector in java?
What are the advantages of assembly language?
How many bits is a double?
What is difference between string and new string?
What is exception propagation?
What is the catch or declare rule for method declarations?
Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of objects to HashMap?
What is aggregation?
How many bits is a char?
How concurrent hashmap works?
what is deadlock? : Java thread