FlashcardIntermediate

Simple Factory idiom

The Simple Factory idiom centralizes object creation in one method that returns instances based on input.

Question

What is the Simple Factory idiom?

Click to reveal answer