Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Thread: Getting errors

    by Norm
    Replies
    7
    Views
    2,021

    Re: Getting errors

    You need to read what the Scanner next() method does.
    The effect on your program was that your answer to the question: Enter the description:
    supplied answers for the next few questions.
    Did you...
  2. Thread: Getting errors

    by Norm
    Replies
    7
    Views
    2,021

    Re: Getting errors

    The error message says the error occurred in line 93 where there is a call to nextInt()
    I have no idea where line 87 or line 93 are in your program.

    Can you open a command prompt, execute the...
  3. Thread: Getting errors

    by Norm
    Replies
    7
    Views
    2,021

    Re: Getting errors

    What did you type in for the statement at line 93 to read? Was it an integer or something else?
    The Scanner nextInt() method requires you enter an integer.
  4. Thread: Getting errors

    by Norm
    Replies
    7
    Views
    2,021

    Re: Getting errors

    You need to create an object to be able to reference a class's non-static methods. The non-static members of a class do NOT exist until an object is created. static members do exist without an...
Results 1 to 4 of 4