What are the characteristics of a constructor?

b) What are the characteristics of a constructor? A class Time has data members: hour and
minute in integer. Only define a class having data members int a and float b, with default,
parameterized and copy constructor.

Leave a Reply