factory-method-parameterized-subclass-can-delegate-to-parent

Status: IN

A subclass overriding a parameterized factory method can handle specific product IDs differently and delegate all other IDs to the parent class's factory method via a call to the parent's Create.

Source: entries/2026/06/17/gof-oo-chunk-9.md

Depended on by

JSON