+1 vote
in Software Architecture by (75.2k points)
Which of the following is true for optional fragments?

(a) An optional fragment is a portion of an interaction that may be done

(b) The fragment operator name is opt

(c) Optional fragments have only a single operand, which must contain a guard

(d) All of the mentioned

I have been asked this question in an online interview.

My doubt is from UML Sequence Diagrams topic in section Unified Modelling Language of Software Architecture

1 Answer

0 votes
by (46.2k points)
Right choice is (d) All of the mentioned

The explanation: All of the mentioned statements are true with respect to optional fragments.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...