Object-Oriented Programming: Inheritance

Location NOVI
Time September 26, 10.15 - 12.00
Subject This seminar covers one of the cornerstones of object-oriented programming inheritance. When aggregation is used we are reusing the implementation of existing class. Our example has been a car that uses existing classes such as engine, door, and gearbox. When it comes to inheritance we are reusing the interface, i.e., the public methods and data structures of the class we are inheriting from. There are quite a larger number of details related to inheritance and we will cover these details in this and the two next seminars.
Reading "Absolute Java" Chapter 7. Read this chapter carefully. Skip the example on pp. 443-446 and the tip on pp. 461-464.
Exercises Exercise
Solutions Solutions for the exercises both documentation and source files
Examples The examples from the lecture, both documentation and source files
Slides PDF
Links

Here links that are useful for the seminar are listed: