BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

OMG Exam OMG-OCUP2-FOUND100 Topic 5 Question 8 Discussion

Actual exam question for OMG's OMG-OCUP2-FOUND100 exam
Question #: 8
Topic #: 5
[All OMG-OCUP2-FOUND100 Questions]

Choose the correct answer:

What is the name of the property represented by the leftmost lifeline in the following diagram?

Show Suggested Answer Hide Answer
Suggested Answer: A

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 labeled v[1]:B, which denotes an instance named v[1] of the classifier B. The name of the property that the lifeline represents is v[1], as B is the type of the object that the lifeline represents, and m represents a message, not a lifeline.

Therefore, the correct answer is:

A . v[1]


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel