Closed tlylt closed 3 years ago
In general, it is safer not to put something into the diagram unless there is clear evidence of its existence.
- state multiplicity of
Message
as * (from Inbox)
Should be OK. Although the description doesn't mention this specifically, we can't expect it to be anything else.
- state multiplicity of
Inbox
as 1 (from Person)
I would be vary of using 1
unless there is a strong indication to support that it has to be exactly one.
- make
Message
and itsread
method abstract?
There is no indication in the description that they are. Of course if there is code, we can check and choose accordingly.
In all three cases above, either way should not affect exam marks though.
Roger, thanks prof.
For this exercise on class diagram, is it ok to
Message
as * (from Inbox)Inbox
as 1 (from Person)Message
and itsread
method abstract?