Link Search Menu Expand Document

Inheritance and Interfaces

This lesson is a continuation of the previous, where additional concepts are presented in more details and guidelines and examples are provided on how to write your own classes with inheritance and interfaces.

  • Inheritance
  • Subclasses
  • Examples (bikes, motorbikes, mountain bikes)
  • Overriding methods
  • Interfaces
  • Examples (animals, cats, dogs)

Material: