Before session 6
Abstract classes. Interfaces.
Objectives:
When you finish this module, you will
- give explanation to the terms: abstract class, interface;
- explain the similarities and differences among concrete classes, abstract classes, and interfaces;
- design and use abstract classes;
- specify common behavior for objects using interfaces;
- create interfaces and classes that implement interfaces;
- use the Java's build-in Comparable interface;
- write programs that are easily extensible and modifiable by applying polymorphism in program design.
Topics
NB! Watch the video in youtube if you need the subtitles!
Alternative materials
- in English:
- H. Schildt. Java - The Complete Reference: Chapter: 8, 9
- B. Kjell. Introduction to Computer Science using Java. Chapter 81
- in Estonian: here
- in Russian: Г. Шилдт. Java 8. Полное руководство: Chapter: 8, 9