Question: Help with c++ CHECKS: The extClockType class includes a private member variable timeZone. The program can initialize objects of the type extClockType without error. The

Help with c++

CHECKS:

The extClockType class includes a private member variable timeZone.

The program can initialize objects of the type extClockType without error.

The class extClockType is derived from the class clockType.

QUESTION:

Instructions

In Chapter 10, the class clockType was designed to implement the time of day in a program. Certain applications, in addition to hours, minutes, and seconds, might require you to store the time zone. Derive the class extClockType from the class clockType by adding a member variable to store the time zone called timeZone. Add the necessary member functions and constructors to make the class functional. Also, write the definitions of the member functions and the constructors. Finally, write a test program to test your class.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!