public class InteractiveMath { Rectangle[] rectangles; RightTriangle[] rightTris; public InteractiveMath(){ rectangles = new Rectangle[100] ; rightTris = new RightTriangle[100] ; rectangles[0]= new Rectangle( 0x0, 5, 2.5 ) ; rectangles[1]= new Rectangle( 0xFFFFFF, 5, 2.5 ) ; rectangles[2]= new Rectangle( 0x0, 5, 2.5 ) ; rectangles[3]= new Rectangle( 0xFFFFFF, 3, 2.5 ) ; rightTris[0]= new RightTriangle( 0x0, 5, 2.5 ) ; rightTris[1]= new RightTriangle( 0xFFFFFF, 5, 2.5 ) ; } //@ returns the sum of the areas of the rectangles and triangles public double computeNetArea(){ return 0; } }