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