Multiple choice

Which of the following statements is false about 'Flyweight' design pattern?

  1. There must be an interface to specify the state of the objects.

  2. It converts the interface of a class into another interface clients expect.

  3. The state of storage must be intrinsic.

  4. Not all Flyweight subclasses need to be shared.

  5. It uses sharing to support large numbers of fine-grained objects efficiently.

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

This pattern does not connect the two interfaces.