Which one of the following behavioral diagrams emphasizes the structural organization of objects that send and receive messages? a) Class diagram b) Sequence diagram c) Collaboration diagram d) Object diagram e) Statechart diagram
Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
It's C. Sequence diagram shows the progress of messages between objects over time (sequence) whereas a collaboration diagram shows the spatial distribution of messages. (structure/org) Pho
Could the answer be d. Object Diagram? I think a sequence diagram shows the flow of messages among objects as time progresses. However it does not address any structural aspects of the objects. An Object Diagram on the other hand addresses the structural aspects of all objects in the system at a particular snapshot. Parag
I believe the answer is collaboration diagram, see example below: of course you know the layout of collaboration diagrams are different the sequence diagrams, so if you have an example collaboration such as 1. create()
Sorry for the previous message, I hit the wrong key, I was trying to import an example, but anyway I believe collaboration diagram is the answer because the layout can be used to show how objects are statically connected.(fowler)