Computer Science, asked by umar94609, 4 months ago

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 time
objects).

Answers

Answered by deepakdiwaker310
2

Answer:

Sorry bro I have to complete science task and I have no Time

Explanation:

Answered by palwinderpbgsp
0

Explanation:

what are you saying and please your question mark is properly

Similar questions