what is difference between Extend and Include with example?

Answer Posted / parthasarathy

<<includes>> or <<uses>> Here both the use cases should be
satisfied or the return value of one use case will affect
the other.

e.g : Let us take the ATM cash withdrawal. actor -> inserts
card -> enters pin ---<<includes>>--->Verify card.

Here if the second use case returns false ie verification
fails, then the first use case follow the alternate flow or
error flow. It will not continue the regular flow.

<<extends>> Here one use case invoke other. thats all.

Is This Answer Correct ?    21 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between Activity and Sequence Diagram?

574


What is message-passing?

533


Explain all elements of a State-chart diagram.

550


Name 9 modeling diagrams that are frequently used?

523


What is elaboration?

591






State some of the criticisms present with UML?

526


What is state transition diagram in UML?

559


What is current system?

589


How are the diagrams divided in UML?

568


What is profile diagram in UML?

570


What is collaboration diagram in UML?

590


What is an antipattern?

560


What does state model represent?

562


What is the function of attribute facets in uml?

683


What is functional requirement?

608