In the book “Objects First with Java: A practical Introduction Using BlueJ, 5th editionâ€
Page 301, Exercise 8.16: Go back to the lab-classes project from Chapter 1. Add instructors to the project (every lab class can have many students and a single instructor). Use inheritance to avoid code duplication between students and instructors (both have a name, contact details, etc.).