What are two capabilities of the Abstract Factory pattern? (Choose two.)
A.
Creates whole-part hierarchies
B.
Creates families of related objects
C.
Enforces dependencies between concrete classes
D.
Specifies the types of objects to create using a sample instance
E.
Separates the construction of a complex object from its representation