Skip to content
scanner cant read
Profile icon
Annkar

why? how do I do?
shoudent ;
Scanner a =new Scanner(new File("klasslista.txt"))
be enough to put "klasslista.txt" in a??

You are viewing a single comment. View All
Profile icon
Annkar

@SixBeeps
lol… how do I declare it?
I mean if it had just been a normal variable I could do a
int myFile;//or string or boolean or whatewer
but a file variable is like a scanner variable and well I dont understand.