--:--









Quiz for BufferedReader & BufferedWriter

Course: JAVA | Subject: Java | Topic: Java I/O



Logo

Q1: Which package contains BufferedReader and BufferedWriter?

Logo

Q2: Which method of BufferedReader reads a line of text?

Logo

Q3: Which constructor is valid for creating a BufferedReader?

Logo

Q4: What is the purpose of BufferedWriter?

Logo

Q5: Which method of BufferedWriter adds a new line?

Logo

Q6: What must be done after writing to a BufferedWriter?

Logo

Q7: What exception does readLine() throw?

Logo

Q8: Which method is used to write a string using BufferedWriter?

Logo

Q9: What is the main advantage of using buffering in I/O?

Logo

Q10: What is returned by readLine() when the end of the stream is reached?

Are you ready to start test? Set your time limit