check Time public void checkTime() checkTime This method should print the current time and battery level of the watch in
Posted: Mon Jun 06, 2022 4:59 pm
check Time public void checkTime() checkTime This method should print the current time and battery level of the watch in the following format: 12:00:00 [Battery: 100] 09:05:07 [Battery: 70] Hint: DecimalFormat is good at this This watch has an indiglo feature and drains the battery by-10 units when it is checked. It will only print the time if the battery charge is greater than o. If the battery has no charge, do not print the time, instead print a message "Dead Battery"