I'm trying to make a model of our universities Course management system (for the course). I stumbled upon a small limitation of extends, that is, it's impossible for a certain class to extend two classes. Here's the model:
Professor
/
Staff
/ \
Person Tutor
\ /
Student
So with that I get Staff and Student extending Person and Professor extending Staff. Now I have a small dilemma with class Tutor, who is basically a student (has studentID), but is in a sense University employee (holds Group lectures, responsible for a certain project, etc). Since I can't use two extends, what are other alternatives, and if possible could someone give a very simple example with implements? I've seen an example of interface of it, but I'm not exactly sure as how can I use it in my program, since Student is not an interface?