Squares squares = new Squares();
Where is that line of code? I assume it is in a main method inside a class you have written. So you already know how to write a class.
Type: Posts; User: Junky
Squares squares = new Squares();
Where is that line of code? I assume it is in a main method inside a class you have written. So you already know how to write a class.
You have to write the Squares class. Programming does not happen by magic. Also be careful of how you name your classes. Squares suggest it will hold information about many squares. Whereas Square...