Singleton vs static class | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 2

Singleton vs static class

Hi Could not find specific reason to choose singleton design pattern over the static class.... We already have support of static in singleton class as well still why people used to rate singleton more over static class? Is this true or false? If true, could anyone elaborate or share some useful hint ?

19th Jul 2020, 4:45 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0 Resposta