Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.20 seconds.

  1. Replies
    5
    Views
    1,672

    Re: 46: Unreachable Statement

    Maybe, but why are you setting the rate of a single instance of Employee multiple times? Don't you want multiple Employees, each with a different rate?
  2. Replies
    5
    Views
    1,672

    Re: 46: Unreachable Statement

    That's a while loop- there is no such thing as an "if loop". But that while loop is while(true), which will never exit. Your System.exit() call is after that while loop, and since that while loop...
  3. Replies
    5
    Views
    1,672

    Re: 46: Unreachable Statement

    When do you expect that while loop to exit?
Results 1 to 3 of 3