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...
Type: Posts; User: Junky
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...
get length;
get height;
Rectangle myRectangle = new Rectangle(length, height);
But the variable can be declared after user input. It's just personal preference.