Homework 4

Due Tue Oct 6, 5 points
  1. (1 points) What does double dispatch mean?

  2. (1 points) What is the difference between classes and types?

  3. (1 points) What is the difference between overriding and overloading? What kind of OOLs allow overloading?

  4. (1 points) What is a common use for the Chain of Responsibility design pattern?

  5. (1 point) What is the basic idea for implementing Chain of Responsibility?

  6. Briefly describe the solution in the Prototype design pattern?