In a UML sequence diagram, a lifeline is identified by a box at the top of a dashed line that represents the presence of an individual participant in an interaction. The box contains the name of the lifeline, and optionally, it can include the object name and its classifier type.
In the diagram provided, the leftmost lifeline is labeledv[1]:B, which denotes an instance namedv[1]of the classifierB. The name of the property that the lifeline represents isv[1], asBis the type of the object that the lifeline represents, andmrepresents a message, not a lifeline.
Therefore, the correct answer is:
A. v[1]
[Reference: Object Management Group (OMG) Unified Modeling Language (UML) Specification Version 2.5.1 Section 17.3 on Sequence Diagrams, which describes lifelines and their notation., ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit