
In the previous article, we discussed about two basic file
handling functions in Java including searching for an existing created file in
the system and creating a file using java’s inbuilt function.
In this article we will cover up the other two file handling
operations which includes reading from a file and writing to a file using java’s
own methods. In this program we create a file by specifying a file name, open
it at the same time and add...