Question: This Question is related to java Thank you Question Four 0.5 Marks We want to create a class that represents a clock. A clock has
This Question is related to java
Thank you

Question Four 0.5 Marks We want to create a class that represents a clock. A clock has hour, minute, and second. For example, the time 12:15:36 means, it is 12 o'clock, 15 minutes, and 36 seconds. The basic framework of a Clock class is below: rn public class Clock private int hour; private int minutes private int seconds 1. What should the body of the constructor be? A. br- hour; min = minutes sec = seconds B. hour= 12 minutes 15; seconds = 36 c, int hour=bG int minutes = min; int seconds sec; D, hour=bG minutes = min seconds = sec
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
