Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Your assignment is to fill in the stubbed out members of the DoCommandVisitor (members with degenerate bodies (return "";).    All required areas in the code are clearly marked with comments for the student to complete the code in that area.  In the process you may choose to define some new classes to support your DoCommandVisitor class implementation. The Student class which repeatedly invokes DoCommandVisitor models the laundry habits of Acker. In our test simulations, we will typically only create a single instance of Student representing Acker, but your code should support multiple students (e.g., Acker and his brothers) at a time. Since these students do not interact with each other, supporting this form of multiplicity is a trivial consequence of OO coding style used in the framework.

...