Answer the question
In order to leave comments, you need to log in
In what situations cannot a static class replace a Singleton?
Hello.
I don't understand why Singleton is needed if there is a static class. Can you write situations where a static class cannot replace a Singleton?
Yes, Singleton can be passed as parameters. But why pass if we connected the static class once and now we can call it from the entire program?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question