Thought reset() would allow the scanner to start reading the file again from start. Now know I know even less than I thought I did. I don't need the scanner visible outside the try block, only using...
Type: Posts; User: matureStudent
Thought reset() would allow the scanner to start reading the file again from start. Now know I know even less than I thought I did. I don't need the scanner visible outside the try block, only using...
Thought it would be good practice to use the same Scanner if possible instead of creating another object, I used it initially to count the number of items in the File to use this count as the array...
Hi everyone
thanks in advance for patience and taking the time to read my code
I am trying to get one Scanner to read from 2 files i.e.
Read from file1 then count contents make count the size of...