Search:

Type: Posts; User: Norm

Search: Search took 0.15 seconds.

  1. Replies
    9
    Views
    2,676

    Re: nextInt - can not find InputMismatchException

    Why do you think that? What happened to the input: 5 5 5? Did the program read that OK?

    Try debugging the code by printing out each number after it is read. Be sure to include an ID String with...
  2. Replies
    9
    Views
    2,676

    Re: nextInt - can not find InputMismatchException

    Please explain. What do you expect to happen?

    Please post the contents of the console from your test.
    To copy the contents of the command prompt window:
    Click on Icon in upper left corner...
  3. Replies
    9
    Views
    2,676

    Re: nextInt - can not find InputMismatchException

    You didn't post the import statements for your code so we can't see what you are using.

    To find what package a class is in, look it up in the API doc:
    Java Platform SE 7

    At the top of the page...
Results 1 to 3 of 3