What are sequence diagrams, collaboration diagrams and
difference between them ?
Answer Posted / singhal
1:
In Sequence diagrams we can show Synchronous as well as
Asynchronous messages.
In Collaboration Diagram we can only show Synchronous messages.
2:
Sequence Diagram shows overall flow of System event/s in a
given use case.
Collaboration diagram shows how objects interacts with each
other or how intercommunication b/w objects for a give use case
3:
Its difficult to fine the responsibilities of objects in
sequence diagram.
Its ease to detect the responsibilities of objects in
collaboration diagram by just counting the number of arrows
coming into the object.
4:
Sequence Diagrams are less spatial.
Collaboration Diagram are much spatial.
Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
Describe the builder design pattern
Why is singleton used?
What are useful tools for developing and testing color schemes for web sites?
What are the 23 design patterns?
What are the examples of the behavioral design patterns?
Shall we use abstract classes or interfaces in policy / strategy design pattern?
What non-visual coding tools are available for web design?
Is singleton bean thread safe?
What is the use of repository pattern?
Give me example of chain of responsibility design pattern?
Is dependency injection a design pattern?
What is use case in clean architecture?
What is the difference between proxy and adapter?
Is mvc is a design pattern?
What is the difference between factory and abstract factory design pattern?