Search:

Type: Posts; User: Freezer Boy

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,260

    Re: Assign a value in a void method

    Okay that's what I'll do, thanks for your help!
  2. Replies
    4
    Views
    1,260

    Re: Assign a value in a void method

    Calling it getAverge is actually a mistake on my part, I'm so used to calling things get I didn't realize it didn't make sense here. The book actually says to call it calculateAverage, so that was...
  3. Replies
    4
    Views
    1,260

    Assign a value in a void method

    I'm having some trouble trying to figure out how to assign a value to a variable being passed through a method parameter. First of all here is my relevant code:


    public static void main(String[]...
Results 1 to 3 of 3