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.

Join The Discussion