Create main class ClockTestthat instantiate and invoke methods from the class Clock
5.Design a class called Clockthat includes the following elements:
6.Three attributesrelated to the hours, minutes and seconds
7.Accessormethods
8.one mutatormethod that modifies all variables
9.Methods to incrementeach attribute with 1
10.Overloadingmethods to increment the attributes with a value entered by the user
11.One default constructorthat sets the clock to 0 hours, 0 minutes and 0 seconds
12.An overloading constructorthat sets the clock to a given time (hr, min, sec)