What is guard condition?
Answers were Sorted based on User's Feedback
Answer / debalina
In Unified Modeling Language (UML) sequence diagrams, a
guard condition, also called as an interaction constraint,
is a Boolean conditional expression that guards an
interaction operand in a combined fragment. A guard
condition contains two expressions that designate the
minimum and maximum number of times that a loop combined
fragment executes.
| Is This Answer Correct ? | 29 Yes | 5 No |
Answer / ranjith
A condition that determines whether a certain transition
will occur in a state diagram when an event happens
A guard condition is evaluated only when the associated
event happens.
| Is This Answer Correct ? | 22 Yes | 2 No |
Answer / shaifali
A condition that determines whether a certain transition will occur in a state diagram when an event happens....
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / tilak chandan
A guard condition appears at the start of the interaction
and contains all the information that is required to make
the decision about whether to execute the traces in the
interaction operand. If the guard condition tests true, the
traces execute. Because a guard condition is optional, the
interaction also executes if no guard condition is specified
in the interaction operand
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sourya
A guard condition is evaluated only when the associated event happens.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / aktarul ahsan
Guard condition is a boolean expression associated with a transition that is evaluated at the time the event fires The transition only takes place if the condition is true.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / chhewang tamang
A CONDITION THAT MUST BE SATISFIED IN ORDER TO ENABLE AN ASSOCIATED TRANSITION TO FIRE.
| Is This Answer Correct ? | 4 Yes | 9 No |
Answer / p.anbil prabu
One who plays different roles
One who is interacting with the system
| Is This Answer Correct ? | 4 Yes | 20 No |
Explain about multiple inheritance?
Is class an Object? Is object a class?
Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?
What is a virtual function?
Difference Between Attribute and Association.
Can we reduce the visibility of the inherited or overridden method ?
Can a class in java be inherited from more than one class?
What is the difference between class inheritance and interface inheritance?
Explain the term constructor
Can we use static method definitions in interfaces?
What are inner classes and what is the practical implementation of inner classes?
Explain about inheritance hierarchies?