Search:

Type: Posts; User: Chunes

Search: Search took 0.24 seconds.

  1. Re: error: This method must return a result of type int

    Actually newbie is quite correct.

    Java doesn't expect you to make needless checks, so it assumes that if blocks won't necessarily execute.
  2. Replies
    4
    Views
    1,209

    Re: Java Assignment Help

    Actually, your while loop isn't executing at all. newbalance is still equal to zero by the time the program reaches the while.
Results 1 to 2 of 2