CPSC 421 OOP Visitor Design Pattern

123456789101112
Across
  1. 2. The derived class that has a connection to more nodes
  2. 3. Polymorphism depends on the calling object only is ____ ____
  3. 7. The derived class that has no connection to other nodes
  4. 8. The base of the data structure used in the Visitor example
  5. 9. A language that supports multimethods
  6. 10. Mainstream languages, such as C++, do not support multimethods and must ______ them
  7. 12. An example of a visitor who, in this case, outputs any Leaf in the list
Down
  1. 1. A commonly-used method name for the operation the visitor performs is ____()
  2. 4. The base class for all Node visitors
  3. 5. A commonly-used method name for the data structure (e.g., Node) to use to process a visitor is ____()
  4. 6. Polymorphism depends on both the calling object and the argument objects is ____ ____
  5. 11. A language that supports multimethods