Practice More Quizzes:
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
0 Comments
Find Questions in This Page: "CTRL+F"