Search:

Type: Posts; User: mwebb

Search: Search took 0.17 seconds.

  1. [SOLVED] Re: NoSuchElementException(), simple program not behaving right with Scanner class.

    Found it. while loop parameter is supposed to be (inFile.hasNext). Wow, I always seem to find the answer right after posting.
  2. [SOLVED] NoSuchElementException(), simple program not behaving right with Scanner class.

    So I am new to reading from files with Java and are trying to get this loop to keep reading from a file that the program has written to but it seems that every time I run the script the terminal...
Results 1 to 2 of 2