adplus-dvertising
frame-decoration

Question

What is a guard in the context of a sequence diagram?

a.

A label

b.

A boolean expression

c.

A vertical arrangement

d.

An order

Answer: (b).A boolean expression Explanation:A guard in the context of a sequence diagram is a boolean expression that states the condition which must hold for the message to be sent. It is labeled on the message.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is a guard in the context of a sequence diagram?