Demonstrating the File class
To Run:
jre -cp filetest.jar FileTest
Sample Run
FileTest.out1
FileTest.out2
Source Files:
FileTest.java
FileTest.txt