I want to discuss a question i got from school.
We are moddeling Object models/diagrams at the moment and i got the following question in my book i find very hard to answer.
As a class you want to know the total age of the students. Limitation is that everyone, in order to determine this, may ask it once to another student. Work out how you could solve this in relation to object orientation?
I’m thinking about Navigation in the diagram, so you can only ask one student, but it’s not mentioned yet in the lesson, so thats why i’m wondering if there are other solutions.
I hope you can help me a bit.