0
1.7kviews
Explain loop control in sequence diagram.
written 5.2 years ago by | • modified 5.1 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 8 Marks
ADD COMMENT
EDIT
1 Answer
written 5.2 years ago by | • modified 5.1 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 8 Marks
written 5.1 years ago by |
Loop is used to show repetitive execution of interactions. Loop fragment operator is used inside fragment box to indicate recursive application. Loop can be controlled either with iterations or with a guard condition. Loop operator can have values for lower bound and upper bound. When loop operator does not contain bounds it indicates that the interaction execute with zero as lower bound and infinite upper bound.
Example:-