Open the number-display project. Select Show Terminal from the View menu and select Record method calls, as you did with the figures project in Chapter 1. This will allow you to see the result of your interactions with objects, which will be useful when we look in detail at the full dock-display project. Now Create a NumberDisplay object and give it the name hours, rather than using the default name offered by BlueJ. Use a rollover limit of 24. Open an inspector window for this object. With the inspector open, call the object's increment method. Note what is shown in the Terminal window. Repeatedly call the increment method until the value in the inspector rolls over to zero. (If you are feeling impatient, you could always create a NumberDisplay object with a lower limit!)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.