As usual, write a testing program that exercises your class. Click here to go back to the main menu. This is potentially a difficult method, since the inside box may fit or not fit depending on how it is rotated. Click here to go back to the main menu. Write the documentation in the style given at the top of this page, similar in style to most Java class documentation.
Short comments describe each method and constructor.
Private instance variables and private methods are not mentioned in this documentation. The documentation is supposed to describe the interface to users of the class. The source code for the final implementation of the class. Comments at the top of the souce describe what it is, who wrote it, when it was written, and what is debugging status is. Short comments are used to explain each method and some statements.