Search:

Type: Posts; User: GregBrannon

Search: Search took 0.13 seconds.

  1. [SOLVED] Re: fileDisplay class with "Exception in thread "main" java.util.NoSuchElementException: No line found" error

    I think you're asking, "How does program execution resume from the point the method was called without a return?" The answer is that it happens automatically, without a return. When a method...
  2. [SOLVED] Re: fileDisplay class with "Exception in thread "main" java.util.NoSuchElementException: No line found" error

    Suggestions:

    1. No returns are required. Get rid of them; follow the assignment's instructions.
    2. Close your Scanner objects.
    3. Add a linefeed after printing the numbered lines.
Results 1 to 2 of 2