1.

Write a class Time which represents time. the class should have three fields for hours, minutes and seconds. It should have a constructor to initialize the hours, minutes and seconds.A method printTime() to print the current time.Overload the following operators:plus operator (+) (add two time objects based on 24 hour clock) and < (compare two timeobjects).

Answer»

Answer:

Sorry BRO I have to COMPLETE science TASK and I have no Time

Explanation:



Discussion

No Comment Found