Initializing data by using constructors

Constructors are called when a class is instantiated.

To initialize data members, use the values relevant to that object. Constructors can be protected or private.


Feedback