Why you should not use singleton?



Why you should not use singleton?..

Answer / Vipul Pratap Singh

In Core Java, overuse of singletons can lead to problems such as tight coupling, difficult testing, and inflexible design. It may also introduce issues related to thread safety.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How can we break singleton in java?

1 Answers  


Can applet in different page/s communicate with each other?

1 Answers  


How to use arraylist in java netbeans?

1 Answers  


Why set is used in java?

1 Answers  


Can an abstract class have a constructor?

1 Answers   RBS, Wipro,


What is lexicographically smallest string?

1 Answers  


please send code example of inner classes?

2 Answers  


Does importing a package imports its sub-packages as well in java?

1 Answers  


What is double parsedouble in java?

1 Answers  


What is the difference between a scrollbar and a scrollpane?

1 Answers  


How do you calculate square roots?

1 Answers  


Is java a digit method?

1 Answers  


Categories