Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Core Java - Interview Questions and Answers for 'Java io' - 3 question(s) found - Order By Rating | ||||
| ||||
| Ans. It's an object that reads from one stream and writes to another. | ||||
| ||||
| Ans. The Reader/Writer hierarchy is character oriented, whereas the Stream class hierarchy is byte oriented. | ||||
| 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. | ||||