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
2
Answer:
Sorry bro I have to complete science task and I have no Time
Explanation:
Answered by
0
Explanation:
what are you saying and please your question mark is properly
Similar questions
Math,
2 months ago
Math,
2 months ago
Psychology,
4 months ago
Science,
10 months ago
Math,
10 months ago