(Modifying the Internal Data Representation of a Class) It would be perfectly reasonable for the Time2 class of Fig. 1 to represent the time internally as the number of seconds since midnight rather than the three integer values hour, mi nute and second. Clients could use the same public methods and get the same results. Modify the Time2 class of Fig. 1 to implement the time as the number of seconds since midnight and show that no change is visible to the clients of the class.
Fig. 1 Time2 class with overloaded constructors.




We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.