Design a class named Time, the class contains:
- the data fields hour,minute, and second that represent a time.
- A no arg constructor that creates a Time object for the current time.(the values of the data Fields will represent the time)
- A constructor that constructs a Time Object with a specified elapsed time since midnight, january 1, 1970, in milliseconds(the values of the data fields will represent this time).
-A constructor that constructs a time object with the specified hour,minute,and second.
- Three get methods for the data fields hour minute and second respectively.
-A method names setTime(long elapsedTime) that sets a new time for the object using the elapsed time. For example, if the elapsed time is 555550000 milliseconds, the hour is 10, the minute is 19 the second is 10