Examveda
Examveda

When comparing java.io.BufferedWriter and java.io.FileWriter, which capability exist as a method in only one of two ?

A. closing the stream

B. flushing the stream

C. writting to the stream

D. writting a line separator to the stream

E. None of these

Answer: Option D

Solution(By Examveda Team)

A newLine() method is provided in BufferedWriter which is not in FileWriter.


This Question Belongs to Java Program >> Input Output

Join The Discussion

Related Questions on Input Output