Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    7
    Views
    1,158

    Re: Little help please

    That would work as long as the name doesn't have any spaces in it.
  2. Replies
    7
    Views
    1,158

    Re: Little help please

    Please post the current version of the code.

    The order of the calls won't change what the nextInt() method does. It still leaves the lineend character in its buffer.
    To see that nextLine() reads...
  3. Replies
    7
    Views
    1,158

    Re: Little help please

    The Scanner class's nextInt() method leaves the lineend character in its buffer. The next call to the nextLine() method reads and returns that lineend character as an empty line.
    Add a call to the...
Results 1 to 3 of 3