·
This class is used to write characters into a
file after writing all the characters stream should be flushed using flush()
method. After performing all the write operations the stream should be closed
using close() method
NOTE: Generally
flush() and close() will be written inside finally block
·
The File Reader class is used to read characters
from the file. These characters are read by using read()
·
Read() will read the characters and stores as
array of characters
·
Take input from keyboard (resume)
No comments:
Post a Comment