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

Answer Posted / sid malik

A sequence diagram is dynamic interaction in time ordering but in Collaboration diagram is similar to Sequence diagram without time ordering it show the dynamic interaction in the objects. Both are called the communication or interaction diagrams. it show the objects and their association with other object in the system and tell how they communicate with each other. but in sequence diagram there is no association of objects to interacts with each other. Use sequence diagram to model flow of control by time ordering but use collaboration diagrams to model flow of control by organization. the messages passed between the objects convey the same information as sequence diagrams, but focus on object roles instead of the time sequence.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the examples of the behavioral design patterns?

607


what is the lazy design pattern?

611


what are the creational design patterns

672


What is the gang of four design pattern?

616


What are the types of participants of the prototype design pattern you will get?

593






What is proxy in design pattern?

614


Why is singleton bad?

577


What is singleton design pattern in java?

597


Explain what is good design?

625


Is singleton bean thread safe?

564


What is the difference between factory and builder design pattern?

509


What is architecture and what is design?

598


Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?

2702


When should design patterns be used?

592


Are singletons bad?

584