Challenge: Setters
Test your understanding by solving the challenge given in this lesson.
Problem statement
In this challenge, you have to implement a bi-directional association of the departments and employee, as shown in the figure.
Class definitions
Your task is to implement two classes, Department
and Employee
.
The Department
class
The Department
class should have these properties: ...