Search:

Type: Posts; User: rberry719

Search: Search took 0.51 seconds.

  1. Replies
    8
    Views
    583

    Re: Help with a java assignment?

    Made the method static, corrected two of the variable references in the method as well. However I still get the same error as before on line 22, which is the IF statement. It insists that what is...
  2. Replies
    8
    Views
    583

    Re: Help with a java assignment?

    Thats the error I get from NetBeans for the error on line 22 of the code. Sorry if thats not the one that would help. I'll transcribe the one from the command prompt too if it helps.

    Exception in...
  3. Replies
    8
    Views
    583

    Re: Help with a java assignment?

    Noted and thank you for the tip. Here's the error message:

    Line 22: non-static method aSalary(int) cannot be referenced from a static context

    incompatible types
    required: boolean
    found: ...
  4. Replies
    8
    Views
    583

    Help with a java assignment?

    Hi, my names Robert and I'm an introductory Java student.

    I have an assignment where the program receives an array of integers, runs them all through a formula, and then displays the results of...
Results 1 to 4 of 4