Self-Review Exercises

29.1Fill in the blanks in each of the following:
  1. All input and output is dealt with in the form of _____.

  2. The_____ stream is normally connected to the keyboard.

  3. The _____ stream is normally connected to the computer screen.

  4. System.out’s _____ method can be used to format text that is displayed on the standard output.

  5. The conversion character _____ may be used to output a decimal integer.

  6. The conversion characters _____ and _____ are used to display integers in octal and hexadecimal form, respectively.

  7. The conversion character _____ is used to display a floating-point value in exponential notation.

  8. The conversion characters e and f are displayed with _____ digits of precision to the right of the decimal point if no precision is ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.