I have a few questions relating to I/o files.
1.) Is FileReader class the same as File Class. In my book it uses File class to read data from a file, but one of the members here used FileReader so I was wanting to know if it's identical function or not.
2.) When creating an output file, I will usei just read a new topic of " appending data to a file," meaning if I want to preserve the old file I would have to use this. From my understanding all this does is prevents the old data from being deleted. Now, in my code if I typePrintWriter outputfile("hello.txt")this would preserve the old data?( "hello.txt",true)
One more thing, what does this even do [CODE]FileWriter file=new FileWriter; PRINTWRITER output=new PrintWriter(file) [CODE/]