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 |
How can we break singleton in java?
Can applet in different page/s communicate with each other?
How to use arraylist in java netbeans?
Why set is used in java?
Can an abstract class have a constructor?
What is lexicographically smallest string?
please send code example of inner classes?
Does importing a package imports its sub-packages as well in java?
What is double parsedouble in java?
What is the difference between a scrollbar and a scrollpane?
How do you calculate square roots?
Is java a digit method?