Java SE 11: Inheritance, Polymorphism, and Abstraction
Examine the methods of polymorphism, inheritance and abstraction, in Java. During this course, you will discuss inheritance in the context of a Java class hierarchy. See how to create a subclass. Override a method in the superclass. Use the SUPER keyword, to reference the superclass. Discover Polymorphism. Cast a superclass reference to the subclass type. Test an object’s type, with the INSTANCEOF operator. Contrast Abstract and Non-Abstract Classes. Finally, extend an abstract class and form a class hierarchy.