This is probably a dumb question but I am getting an compile error and I trying to see if this can cause it.
For this statement the "data.txt" . Are we suppose to just put the name in for data.txt or the path "C:\userName\desktop\data.txt" ??
File file = new File("data.txt");
my other question is how does the try - catch statement work?
For this statement the "data.txt" . Are we suppose to just put the name in for data.txt or the path "C:\userName\desktop\data.txt" ??
File file = new File("data.txt");
my other question is how does the try - catch statement work?
