[Solved] How should I fix this [closed]
[ad_1] The first thing I notice is here, public Square(height, width) Should be public Square(int height, int width) The next thing I notice is public int computeSurfaceArea() { // int surfaceArea = square_height * square_width; // surfaceArea = (getheight() * getwidth()); return getheight() * getwidth(); } Finally, I suggest you follow standard Java naming practices; … Read more