Page 1 of 1

getHour public int getHour() getHour - Getter for the hour Returns: this.hour - representing the current hour of the wat

Posted: Mon Jun 06, 2022 1:10 pm
by answerhappygod
Gethour Public Int Gethour Gethour Getter For The Hour Returns This Hour Representing The Current Hour Of The Wat 1
Gethour Public Int Gethour Gethour Getter For The Hour Returns This Hour Representing The Current Hour Of The Wat 1 (20.88 KiB) Viewed 51 times
getters in java class.
pls explain
getHour public int getHour() getHour - Getter for the hour Returns: this.hour - representing the current hour of the watch getMinute public int getMinute() getMinute - Getter for the minute Returns: this.minute - representing the current minute of the watch getSecond public int getSecond() getSecond - Getter for the second Returns: this.second - representing the current second of the watch