...
- Shape.dj0/dj1
- Rectangle.dj0/dj1
- Circle.dj0/dj1
- TestRectangle.dj0/dj1
- TestCircle.dj0/dj1
Use DrJava to open all these files and perform a Compile All
(by clicking the Compile
button). Click the Test
button to run the two JUnit test files. Everything should compile and pass all the JUnit tests. Use these files as examples for documentation, coding style and JUnit testing.
Composite Design Pattern for List
...