Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. BufferedWriter is temporary source for data storage.BufferedWriter is used to write character data to the file.Flush() is method available in B.W which ensures that all data items are written to file including last character.Close() is used to closes the character output stream.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   java io   input output   file handling   file io   output stream   bufferedwriter   flush   close|
|How and when the Buffer is cleared when using Buffered Writer Classes ?|
|Difference between save and flush in Hibernate ?|
|Have you ever faced any problem because of PrintWriter buffer and autoflush mechanism ? How did you got rid of it ?|
|Can we disable auto flushing for PrintWriter ?|