In a create message, where is the arrowhead end connected?

Study for the OCSMP Level 1 Behavioral Test. Prepare with flashcards and multiple choice questions, each question comes with hints and explanations. Get ready to ace your exam!

Multiple Choice

In a create message, where is the arrowhead end connected?

Explanation:
In a create message, the arrowhead lands on the head of the lifeline being created. This shows that a new object comes into existence as a result of the message, starting its lifeline at that moment. The tail of the message sits on the sending lifeline, which is just the origin of the call. If the arrow went to the tail of the sender or to a lifeline that already exists, it wouldn’t represent the creation of a new object. So the correct image is the arrowhead connected to the head of the lifeline being created.

In a create message, the arrowhead lands on the head of the lifeline being created. This shows that a new object comes into existence as a result of the message, starting its lifeline at that moment. The tail of the message sits on the sending lifeline, which is just the origin of the call. If the arrow went to the tail of the sender or to a lifeline that already exists, it wouldn’t represent the creation of a new object. So the correct image is the arrowhead connected to the head of the lifeline being created.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy