Plz help me to solve
1. Write a program using java to create : A class called Time, which models a time instance with hour, minute and second, is designed as shown in the class diagram. It contains the following members: 3 private instance variables hour, minute, and second. Constructors, getters and setters. A method setTime() to set hour, minute and second. A toString() that returns "hh:mm:ss" with leading zero if applicable. A method nextSecond() that advances this instance by one second. It returns this instance to support chaining (cascading) operations, e.g., t1.nextSecond().nextSecond(). Take note that the nextSecond() of 23:59:59 is 00:00:00. Write the Time class and a test driver to test all the public methods. No input validations are required.