Multiple choice

Which of the following is/are the false statement about composition method of Adapter design pattern implementation?

  1. It creates an has-a relationship.

  2. It creates an is-a relationship.

  3. This implementation is used when a class with an incompatible method needs to be used with another class.

  4. Both (2) and (3).

  5. None of the above.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

These are the incorrect statements about Adapter implementation using composition.