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 is the creational design pattern?

631


4. Identify and bound the SOI’s Operating Environment.

3344


What is meant by design pattern?

579


Are you using singleton in your code?

591


What is proxy in design pattern?

608






What are the types of the proxy design you will get in the design pattern?

569


What are the 23 design patterns?

719


What is the difference between adapter and facade?

631


What are the additional productivity features and enhancements included with Quartus II software version 6.0?

1954


How did you design your unit tests?What about integration tests?

1800


What is the singleton design pattern?

629


Can we inherit singleton class?

608


What is the design pattern?

639


Give me example of observer design pattern?

630


What is the use of design patterns?

593