Inheritance
Java inheritance: what extends gives a subclass, constructor order, overriding against overloading, super, private fields and final.
Inheritance: declaring with extends that one class is a more specific kind of another, so it gets the parent's fields and methods without copying them. It is the feature taught first and regretted most, so the topic spends as much time on what extends does not give you as on what it does. It covers what a subclass gets, the order constructors run in, overriding against overloading, super, why a private field cannot be named, and what final stops. It leaves out multiple inheritance of interfaces, which belongs with interfaces.
Contents
10 cardsnot started