Is singleton a bad practice?
Answer / Virendra Sharma
"Singleton is not inherently bad, but it can become problematic if misused or overused. For example, it might lead to issues with testing, maintainability, and extensibility. Properly implemented singletons can be useful in certain scenarios.".
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you declare a private method as static?
Tell me are there implementations for sorting and searching in the java libarary?
Why is logger singleton?
What are abstract classes and anonymous classes?
1 Answers Flextronics, Thomson Reuters, Virtusa,
Why arraylist is not synchronized in java example?
tell me some common
Can you declare an interface method static?
What is string and its types?
What is a void in java?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is the purpose of garbage collection in java, and when is it used?
Does apple use java?