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

Explain about the difficulties of interchange format of UML?

658


Why do we need UML diagrams?

577


Tell me about UML modeling.

584


how will u use com+ register

2104


What are the elements which are utilized in the state chart diagram?

485






What are the roles played by packages in uml?

509


What do you mean by focus of control?

591


How do you create a use case diagram in UML?

583


Explain about the static structural view presented by UML?

516


Explain about static diagrams?

530


Can you tell us a few advantages of creating a model?

560


Explain about dynamical behavior view?

591


Why analysis is a major part in object designing?

675


What is current system?

595


What are the roles played by modules in uml?

516