How can we design/implement singleton object?

Answer Posted / todd d. roling

public enum Singleton {
INSTANCE;
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between adapter and facade?

840


Is oop a design pattern?

766


What is synchronizer token pattern?

806


What is difference between function oriented design and object oriented design?

781


What is aop design?

753


when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next

7376


What is the difference between factory and strategy design pattern?

757


Can you explain singleton pattern?

810


What is onion architecture?

844


What are the most important software design patterns?

835


What is the builder pattern?

823


what is the lazy design pattern?

791


4. Identify and bound the SOI’s Operating Environment.

3531


What are the disadvantages of singleton pattern?

809


Is singleton an anti pattern?

763