April 2017
Intermediate to advanced
316 pages
9h 33m
English
The composite reuse principle is an alternative to inheritance. This technique supports polymorphism and code reuse by separating behaviors from the primary class hierarchy and including specific behavior classes, as required in any class. This approach avoids the static nature of a class hierarchy by allowing behavior changes at runtime and permitting a subclass to implement behaviors selectively, instead of being restricted to the behaviors of its super classes.
Read now
Unlock full access