The Square Class
The Square class is almost trivial: class Square extends Rectangle { public Square( int x, int y, int size ) { super( x, y, size, size ); } public Square( int x, int y, int size, double theta ) { super( x, y, size, size, theta ); } }