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
oyl
1 Resposta
0
sorry i have no idea what u are saying.my foundation is still very weak.can you elaborate more
31st Oct 2017, 10:28 AM
oyl