A Visitor Design pattern is
-
Intercepting Filter
-
Factory pattern
-
Invoker pattern
-
Double Dispatch pattern
-
None of the above
D
Correct answer
Explanation
The Visitor pattern is a behavioral design pattern that allows you to add new operations to existing object structures without modifying the structures. It uses a technique called double dispatch, where the operation executed depends on both the type of visitor and the type of element being visited. The other options (Intercepting Filter, Factory, Invoker) are different design patterns altogether.