These demos illustrate some concepts on inheritance.
Note that these examples are designed to illustrate specific concepts, and may not be an example of proper class design outside of this context.
The following official Java Tutorials may be useful:
- Lesson: Interfaces and Inheritance
- Lesson: Classes and Objects - Nested Classes
- Lesson: Interfaces (Collections)
- Lesson: Generics (Optional)
The following classes from the Java 8 API may be useful:
Please see the course website for links to lecture slides and videos.