What is that class called which does not have a public constructor ?
6 Likes
A class which does not have a public constructor is called a private class as only the member functions may declare objects of the class.
Answered By
2 Likes
What is a constructor ? What does it do ?
When is a constructor automatically invoked ?
Write two characteristics of a constructor.