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.
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
You must be logged in to post a comment.