+ 7
Why do Private Constructors exist?
Just recently, I learned that a constructor can be private. My question is; what's d point?
2 Antworten
+ 11
Search for Singleton pattern.
+ 8
Thanks all 😊
Just recently, I learned that a constructor can be private. My question is; what's d point?