Search:

Type: Posts; User: PhHein

Search: Search took 0.30 seconds.

  1. Thread: New to Java!

    by PhHein
    Replies
    7
    Views
    864

    Re: New to Java!

    Uh oh, bike1 and bike2 are instances of Bicycle and have exactly the same number of methods. They're just called differently. Each method call changes the state of the instance. The state is defined...
  2. Thread: New to Java!

    by PhHein
    Replies
    7
    Views
    864

    Re: New to Java!

    What exactly don't you understand? The output is as expected.
Results 1 to 2 of 2