Multiple choice

At some stage, a concrete instance of the base class's subclasses must be created. This is done by using

  1. strategy pattern

  2. singleton pattern

  3. factory pattern

  4. an exact pattern to match

  5. a path mapping

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

At some stage, a concrete instance of the base class's subclasses must be created. This is done by using factory pattern.