Sams Teach Yourself Java in 21 Days (Covering Java 8 and Android)
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS DAY / NEXT DAY / THANKS
ROGERS CADENHEAD

Day 15: Working with Input and Output

Certification Practice

Each chapter of the book ends with a Certification Practice question that's comparable to what you could expect to be asked on a Java certification test. Here's the answer for chapter 15:

Answer (a) is correct. The input stream represented by the System.in variable can be used like any other input stream. You can use it to create a reader object or a stream object and then read the data from the stream accordingly.

Answers (b), (c), and (d) are incorrect. Edit

Return to Day 15

HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS DAY / NEXT DAY / THANKS

Valid HTML 4.01!

Valid CSS!