QuizIntermediate

Simple Factory idiom

The Simple Factory centralizes object creation in one method that returns instances based on a parameter.

What is the primary purpose of the Simple Factory idiom?