7 Object-Oriented Approach 2: Abstract Classes and Inheritance

Subclasses, inheritance, abstract classes, and method overriding

Learning Outcomes

  1. Create and use subclasses and superclasses

  2. Create and extend abstract classes


Exam Topics

  • Create and use subclasses and superclasses, including abstract classes

Oracle Academy

  • 2 Class Design and Exceptions

    • 2-2: Interfaces

    • 2-3 Practice: Abstract Classes

Textbook

  • 9 Object-Oriented Programming: Inheritance

Tutorial / Practice Activity

  • 2-2 Practice: Interface - Bike

Lesson Plan

  • Mindfulness

  • Plus Delta

  • Previous week review

  • Repl.it

  • Resource reinforcement and clarification

  • Types of inheritance

    • Single

    • Multiple

    • Multilevel

    • Hierarchical

    • Hybrid

  • Base, super, parent

  • Derived, sub, child

  • 2-2

  • OOP Project

Mindfulness