Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    1,168

    Re: HELP WITH METHODS!

    That statement could be coded in any method that is in the same class as the computePayment() method.


    Then you need to have a statement that calls the method you want to execute and pass it...
  2. Replies
    11
    Views
    1,168

    Re: HELP WITH METHODS!

    When a method returns a value, the calling code needs to assign the returned value to a variable:

    double someVar = computePayment(put needed args here);
    someVar now has the value that was...
  3. Replies
    11
    Views
    1,168

    Re: HELP WITH METHODS!

    Are the methods you want to execute being called? If they are not called, they will not be executed.

    Take a look at the tutorial:
    Passing Information to a Method or a Constructor (The Java™...
  4. Replies
    11
    Views
    1,168

    Re: HELP WITH METHODS!

    Can you explain what the program does and what is "going wrong"?

    What do you expect to happen when the code executes?
  5. Replies
    11
    Views
    1,168

    Re: HELP WITH METHODS!

    Please explain what the problem is.
Results 1 to 5 of 5