What are sequence diagrams, collaboration diagrams and
difference between them ?

Answer Posted / burak

A sequence diagram shows object interaction arranged in
time sequence. It depicts the objects and classes involved
in the scenario and the sequence of messages exchanged
between the objects needed to carry out the functionality
of the scenario. While a collaboration diagram is an
alternative way to show a scenario. Object interactions are
organised around the objects and their links to each other.
A collaboration diagram contains: - objects drawn as
rectangles, links between objects shown as lines connecting
the linked objects, messages shown as text and an arrow
that points from the client to the supplier

Is This Answer Correct ?    36 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the design pattern?

639


How do you choose a design pattern?

562


What are the 23 design patterns?

719


What are the SDLC phases you have invloved ?

2181


What is architecture and what is design?

591






What are the main usage of the patterns?

630


Is bean a singleton?

568


What is the use of repository pattern?

577


Why singleton beans are not thread safe?

571


Are you using singleton in your code?

591


Why have we declared the instance reference volatile?

539


What is the difference between adapter and facade?

631


What is synchronizer token pattern?

607


What are the categories in which the design patterns can be divided?

613


What is the prototype design pattern?

632