Multiple Choice
PrintWriter is a better output stream class that PrintStream because PrintWriter
A) has both print and println methods and PrintStream only has print
B) can output both byte and character streams and PrintStream can only output byte streams
C) has error checking mechanisms as part of the class and PrintStream does not
D) will not throw checked exceptions and PrintStream will
E) all of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Which of the following classes would you
Q12: While the Exception class is part of
Q29: What are the three standard I/O streams
Q40: Scroll panes automatically will scroll vertically, but
Q41: In order to have some code throw
Q43: A Java program can handle an exception
Q44: An image (such as a jpg or
Q48: Assume infile is a BufferedReader for a
Q49: Write a save method that will save
Q50: Use the code below to answer the