Siblings and Grandchildren4:12 with Alena Holligan
We can create as many children as we want. We can also add children to those children for an infinite number of generations. Each subsequent generation gaining the attributes and actions of ALL generations before.
Children can only extend ONE parent at a time. Classes can be extended as many times as desired.
Siblings share the same attributes and abilities of the parent, but they do not share any attributes or abilities added in another sibling.
Grandchildren share the attributes and abilities of all parents in the hierarchy.
You need to sign up for Treehouse in order to download course files.Sign up