Welcome Guest | Sign in | Register
File - Discussion Page For Q.2718 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > File > Questions and Answers

Q: 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

Answer and Explanation

Answer:writting a line separator to the stream

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

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved 2012-2015 SoftLucent.