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 is package diagram in UML with example?
Explain about behavioral diagrams?
Who maintains the uml specification and how is it updated?
Can you give us a brief defining the architecture?
What is object diagram in UML?
What is dependency?
What is the difference between uses and extends?
Why can't I easily interchange uml models between modeling tools?
What do you mean by focus of control?
What is multiple inheritances?
Tell us the difference between activity and sequence diagrams?
Detail the meaning of association?
Explain about realization and its relationships?
What are the advantages of using UML?
Explain about dependency?