Extract Subclass

A class has features that are used only in some instances.

Create a subclass for that subset of features.

image/svg+xml Job Item getTotalPricegetUnitPricegetEmployee Job Item getTotalPricegetUnitPrice Labor Item getUnitPricegetEmployee

inverse of Collapse Hierarchy