Skip to lesson

Employee Role Hierarchy

A team lead is an engineer, and an engineer is an employee: each role keeps everything of the role above it and adds a little more. Inheritance lets you write each part once.

What you will learn

What you will learn

  • Build a class tree with extends, including multilevel inheritance
  • Call the parent constructor with super(...) and see the constructor order
  • Share fields and helper methods with protected members
  • Use a final method and a final class on purpose
  • Push a Java OOP project to GitHub

Sign in to continue this lesson

Create an account to read every lesson, practise with the exercises and keep track of your progress.