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

Which design patterns have you used in your project ?

565


What are useful tools for developing and testing color schemes for web sites?

2023


What is the prototype design pattern?

626


What design pattern wrapper classes implement?

605


What are the types of design patterns?

564






What are the examples of the behavioral design patterns?

597


Why is singleton used?

623


Which design pattern is mvc?

622


Can you explain singleton pattern?

566


What are creational design patterns?

628


Where should we use singleton design pattern?

538


What is the difference between factory and strategy design pattern?

539


What non-visual coding tools are available for web design?

2117


What are the 23 design patterns?

714


What is meant by design pattern?

575