Question OOP-POLY-0070
HardWhat is double dispatch, and which pattern implements it?
- A.
Overloading; the Factory pattern
- B.
Choosing behaviour based on the run-time types of two objects; the Visitor pattern
- C.
Sign up free to see the answer and a step-by-step explanation.