Skip to lesson

Capstone: Employee Management & Payroll

A payroll touches every OOP idea at once: each kind of employee is paid in its own way, the company holds its staff, and a payslip must never change once it is made.

What you will learn

What you will learn

  • Combine an interface, an abstract class and inheritance in one design
  • Let polymorphism work out pay and deductions for every kind of employee
  • Use an enum, a record and a composition relationship together
  • Decide equality with equals and hashCode on a real key (the PAN)
  • Push a complete multi-class Java 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.