January 2014
Intermediate to advanced
736 pages
70h 43m
English
Class Time1’s private int instance variables hour, minute and second (Fig. F.1, lines 6–8) represent the time in universal-time format (24-hour clock format in which hours are in the range 0–23). Class Time1 contains public methods setTime (lines 12–25), toUniversalString (lines 28–31) and toString (lines 34–39). These methods are also called the public services or the public interface that the class provides to its clients.
Read now
Unlock full access