Visitor Interface:?
- The visitor interface defines a visit method for each type of element. Each
Visit method encapsulates the operation to be performed on the
corresponding element.
Visit method encapsulates the operation to be performed on the
corresponding element.