Change the body of method updateTime() to read:.Remove the phrase from Timer's run() method that reads:Īnd the next-to-last closing brace (" }") in that method.Change the statement in Timer's start() method that reads:.(that is, eliminate the surrounding if statement). Change the body of Timer's start() method to read:.Remove (or comment out) the entire header and body of Timer's start() method.Remove (or comment out) the phrase from the header of class Timer that reads:.In some cases, you may have to click some buttons to detect the differences. Be forewarned that some of these changes produce very subtle differences in behavior. Note in each case what type of error occurred (if one occurred at all) and/or what change in program behavior resulted from your modifications. You know the drill: Make each of these changes to the original version of TickTock, and record the impact of the change. #JAVA PROGRAM ALARM CLOCK CODE#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |