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

Singleton class question

i know that private constructor prevent class from creating more than 1 object but how does it prevent it.sorry i do not understand the concept.

31st Oct 2017, 10:03 AM
1 Resposta
sorry i have no idea what u are foundation is still very weak.can you elaborate more
31st Oct 2017, 10:28 AM