2 ms·
Yes this is correct. The constructor in a singleton pattern is private. I meant the way to obtain an instance is the same. Sorry for my mistake.
by gabordemooij 15y ago
Yes this is correct. The constructor in a singleton pattern is private. I meant the way to obtain an instance is the same. Sorry for my mistake.