what is difference between Extend and Include with example?
Answer Posted / vivek kumar
Extending use case typically defines optional behaviour. It
is independent of the extending use case.
Include used to extract common parts of the behaviours of
two or more use cases
eg:-
Use case I am going to city.
Includes -> drive the car
Extends -> fill the petrol
Fill the petrol may not be required at all times but may
optionally be required based on the amount of petrol left
in the car.
Drive is a prerequisite hence I am including.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What are the roles played by packages, modules and wrappers in uml?
How would you define architecture?
What are the different types of implementation terms in uml?
Is UML restrictive to system development?
What are the roles played by wrappers in uml?
What is modeling? What are the advantages of creating a model?
What is package diagram in UML with example?
What is the function of operational assertions in uml?
Who maintains the uml specification and how is it updated?
What are the elements which are utilized in the state chart diagram?
What is the influence of rule-sets in object assertions?
What is contract?
Given the requirements, how will you go about designing them? How will you convert business info to technical info?
What are the different views in UML?
What are the roles played by modules in uml?