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