Saving and loading data to the file is one of the important feature of many applications which requires the programmer to learn how to read from and write to the files. The File class in "java.io" package works with files and directories and it's object represents the name of a file or directory on the host file system. A program, if the file exists, can examine the files attributes and perform various operations like renaming, deleting, reading from and writing to the file.
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: November 9, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles