Lecture Outline
- Java inheritance and class hierarchy
- Inheritance is a mechanism that allows a class to gain access to the instance fields and methods of another class
- Inheritance is helpful for removing redundancy
- Private instance fields and private methods are not inherited, instead we can make them protected
Lecture Recording
Lecture Slides
Code