Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a class called Time to the following specifications. The class will have t

ID: 3535031 • Letter: W

Question

Write a class called Time to the following specifications. The class will have two properties, hours and minutes, both of primitive type int. The class will have two constructors, a default constructor and another constructor which Lakes two int parameters. Class Time will have two additional methods. get Minutes and get Hours. Also the class will have a to string method which will print the time object as a string, Below you can see a client code using the Time class. READ the CAREFULLY. Be sure to write ALL REQUIRED parts for a complete declaration of the Time class. The comments show program output.

Explanation / Answer

I coded it. but I am not satisfied with the last one getHOurs, how can that be 7 hours and yourtime.getmins is 47? again its wrong. Let me know what changes you want.

I have done it.

Stored in the notepad.

Link is http://www.shrib.com/E2y9QZdV


Let me know if you want any changes, I ll do it.


And don't forget to rate.


Cheers!!!

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote