Before session 5
Inheritance. Superclasses and Subclasses.
Objectives:
When you finish this module, you will
- explain the following terms: inheritance, overriding, polymorphism;
- relate objects to one another;
- build strong relationships between the objects in the code using superclasses and subclasses;
- use
super
keyword; - list some methods of
Object
class; - choose proper data types for objects and variables.
Topics
NB! Watch the video in youtube if you need the subtitles!
Alternative materials
- in English:
- H. Schildt. Java - The Complete Reference: Chapter:8
- Chapter 80
- in Estonian: here
- in Russian: Г. Шилдт. Java 8. Полное руководство: Chapter: 8