Collaboration describes how two or more classes interact and work with one another.
A UML (Unified Modeling Language) sequence diagram is used to represent a sequence of operations between classes.
No. They are typically diagrams of smaller portions or overviews of an application. An application may contain many sequence diagrams.
No. Unlike flow charts , sequence diagrams do not show flow control; they show sequence.
A return value from a method call.
A method call from one object to the other, as indicated by an arrow.
A UML collaboration diagram shows the basic collaboration or relationship between classes.
A message is normally a method call. A class may receive a message by having one of its methods called, or it may send a message to another class by invoking a method of the other class.
No. If you have a class derived from another, for diagram purposes, it is best to use the more descriptive derived class name even if none of the derived class methods are used (in other words, use Enrollments , not Vector ).
It is a diagram that shows the class name, its methods, and the classes with which it collaborates. A CRC diagram provides an overview of how a class interacts with other classes and what it provides. It is not concerned with sequences or detailed collaboration descriptions.