Here is where the "practical approach" shines. Xavier introduces the concept of a superclass reference holding a subclass object not through theory, but through a working payroll system:
: In-depth look at objects, classes, attributes, methods, inheritance, and interfaces. java programming a practical approach c xavier pdf