Package algs12

Class MyRecursiveRectangles


public class MyRecursiveRectangles extends Object
For this assignment, you must do two things: 1. Complete the MyRectangle class at the bottom of this file. It is not a public class, but don't worry about that. I've put two classes in one file so that you need only hand in a single file. In particular, you should get the testEquals method to work without throwing any exceptions. 2. Modify the draw method of MyRecursiveRectangles so that it behaves as demonstrated here:
To do this only requires very minor modifications to the function. It is not necessary, but if you want to learn more about the drawing classes, see here: