F
Frank
Hi,
classTeacher contains a list of classChild
ClassChild contains methods, props and so on
Most things a classChild can do on its own.
But AskPermission cannot be done by the Child, but must be done by the
teacher.
Child has to ask its teacher to do that.
Is it a proper OO way to have a reference to the teacher to call a
teachermethod?
Thanks
Frank
classTeacher contains a list of classChild
ClassChild contains methods, props and so on
Most things a classChild can do on its own.
But AskPermission cannot be done by the Child, but must be done by the
teacher.
Child has to ask its teacher to do that.
Is it a proper OO way to have a reference to the teacher to call a
teachermethod?
Thanks
Frank