Can the class constructor be private?
Explanation
This makes it impossible to create an instance of the class from the outside of the class and its friends.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback