Search:

Type: Posts; User: matureStudent

Search: Search took 0.23 seconds.

  1. Re: Reuse same Scanner to read another file

    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...
  2. Re: Reuse same Scanner to read another file

    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...
  3. Reuse same Scanner to read another file

    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...
Results 1 to 3 of 3