Search:

Type: Posts; User: Junky

Search: Search took 0.45 seconds.

  1. Replies
    5
    Views
    839

    Re: Help understanding Objects and Constructers

    I have been using Java since 1997 and you never stop learning. I learnt something new the other day about switch statements. The best way to learn is to practice. Read about classes and their methods...
  2. Replies
    5
    Views
    839

    Re: Help understanding Objects and Constructers

    get length;
    get height;
    Rectangle myRectangle = new Rectangle(length, height);

    But the variable can be declared after user input. It's just personal preference.
Results 1 to 2 of 2