February 2014
Beginner
1248 pages
62h 25m
English
• The switch statement (p. 165) performs different actions based on the possible values of a constant integral expression (a constant value of type byte, short, int or char, but not long), or a String.
• The end-of-file indicator is a system-dependent keystroke combination that terminates user input. On UNIX/Linux/Mac OS X systems, end-of-file is entered by typing the sequence <Ctrl> d on a line by itself. This notation means to simultaneously press both the Ctrl key and the d key. On Windows systems, enter end-of-file by typing <Ctrl> z.
• Scanner method hasNext (p. 168) determines whether there’s more data to input. This method returns the boolean value true if there’s more data; otherwise, it ...
Read now
Unlock full access