What is guard condition?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is constructor and virtual function? Can we call virtual funciton in a constructor?

762


Which OOPS concept exposes only the necessary information to the calling functions?

899


What is the use of ‘finalize’?

775


What is the use of finalize method?

732


State some of the advantages of object oriented programming?

822






Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?

669


Explain what is single and multiple inheritance?

717


How do we implement serialization actually?

679


Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?

739


What is inheritance in java?

760


What is the difference between data hiding and implementation?

733


What are the limitations of oops?

761


Write basic concepts of oops?

720


Can you give some examples of tokens?

806


What are the properties that are defined in an object model?

683