Using Java, write the class Time which consists of the following:
(a) three private integer data members (hours, minutes and seconds).
(b) a constructor to initialise the data members to zero
(c) another constructor that takes three integer arguments(hours, minutes and seconds) and assigns them to the data members.
(d) an accessor method setHour that takes one integer argument hours and assigns it to data member hours.
(e) an accessor method setMinute that takes one integer argument minutes and assigns it to data member minutes.
(f) an accessor method setSecond that takes one integer argument seconds and assigns it to data member seconds.
(g) a method to convert and return a given time to seconds.
(h) a method to convert and return a given time to minutes.
(i) a method to display time in the format "HH/MM/SS".