Develop and execute programs for this exercise. Submit your results to COL.
1. In the example 1-1, the class Clock 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 ExtClock from the class Clock by adding a data member to store the time zone. Add the necessary methods and constructors to make the class functional. Also, write the definitions of the methods and the constructors. Finally, write a test program to test your class.
Class Java program was written and tested.