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 deployment diagram in UML?
Who maintains the uml specification and how is it updated?
What is static modeling and dynamic modeling in UML?
What is a pattern?
What are the different types of relationship composition that exists?
How the object diagrams gets represented in uml?
Detail whether UML can be used as a programming language?
What are the Dynamic diagrams in UML?
What is message-passing?
Does Visio Standard have UML?
What are the goals of UML?
What is a uml package?
What are the different views that have to be considered before the buildup of an object oriented software system?
How does elaborating software requirements lead to inconsisteencies!
What are the different types of implementation terms in uml?