أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
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 ?
class : is noun
method : verb