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
What are the advantages of using UML?
What are the different types of UML diagrams?
What does UML do?
What is state machine diagram in UML?
What is known as static diagrams?
Define three type of design patterns?
What are the different views in UML?
What are the approaches to preparing state chart?
Can you name the different elements with the collaboration diagram?
Explain about executable UML?
What are UML Messages?
How do we represent private, public and protected in class diagrams?
What are assertion facets used for in uml?
Name some of the roles that are played by the packages, modules and wrappers?
What is an activity diagram?