Register now or log in to join your professional community.
for example:
I have three classes " Patient" , " Appointment" , and "Receptionist"
where the "Patient" should do this task: " request appointment",
And the "Receptionist" do this task: "make appointment"
Where should I put these tasks as class methods? Should I make it all inside one class "Appointment" ? Or put each method in the Class that has responsibility to do it ?