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
How do we represent private, public and protected in class diagrams?
What are the elements in State Chart diagrams?
What are the different views in UML?
What is contract?
Explain about realization and its relationships?
Difference between Activity and Sequence Diagram?
What are the different approaches to store knowledge?
Can you give us a brief defining the architecture?
Who maintains the uml specification and how is it updated?
What is UML diagram?
What is mean by relational and object dbms?
What are the goals of UML?
What shall I go for Package Diagram?
What are the three types of modeling in UML?
What is use case diagram in UML?