Chris, how would you open a txt file using Java? Please help.
Type: Posts; User: Prostak
Chris, how would you open a txt file using Java? Please help.
Chris, but this code doesn't work for me:
public class FileOpener {
inputStream = new BufferedReader(new FileReader("sample.txt"));
} What am I doing wrong?
Thanks for reply, Chris, but unfortunately I wasn't able to find an answer to my question from your links. Could you tell me how to write a method that would open my file and type the word there,...
Hi everybody,
I have Eclipse 3.6.0 installed on Window XP. Also there a sample file in C:\ called sample.txt
The file is empty.
Please give a code that opens this particular file and write a...