Luigi
Junior Member
Registered: Sep 2002
Location: San Diego, CA
Posts: 26 |
Explicit visibility in class diagram
I agree with you Bali that you certainly need visibility between objects to have a message between objects in an interaction diagram, but visibility is implicitly defined there (i.e., is public but could also be protected or friend). It's in the class diagram where visibility is explicitly defined.
For instance, suppose the question was worded with "protected" vs. "public" method. Would you still say interaction diagram?
Just playing devils advocate, but to conclude, I feel the the question can be perceived as a little ambiguous. I can imagine it must be a fine art to know when to read into the question more or not to pass this exam.
__________________
Lou 
Report this post to a moderator | IP: Logged
|