Quiz 5 : File I/O
Graded Quiz • 30 min Quiz8 Questions Week 3
Re⥃askly Logo

Quiz 5 : File I/O

Graded Quiz • 30 min Quiz8 Questions Week 3
Practice More Quizzes:
Quiz
08 Questions Week 1
Quiz
7 Questions Week 2
Quiz
8 Questions Week 3
Quiz
Quiz
07 Questions Week 4

Q:

All modern I/O is stream-based.

Q:

Which of these packages contain classes and interfaces used for input & output operations?

Q:

Can we use the Scanner class to read a file?

Q:

Which one of the following methods in the Scanner class is used to read integers from a file?

Q:

What class does readLine() belong to?

Q:

The println() method of the PrintWriter class throws an exception.

Q:

What class can be used to buffer the data sent to a FileWriter stream?

Q:

What does the following code do? File file = new File(“main.txt”); FileWriter fileWriter = new FileWriter(file, false);

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Find Questions in This Page: "CTRL+F"