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
Explain about executable UML?
What are the elements which are used in activity diagrams?
What are the different views in UML?
What do you understand by sdlc and name its processes?
What are the different types of UML diagrams?
What are the different views that have to be considered before the buildup of an object oriented software system?
Explain about static diagrams?
Explain about aggregation?
Define SDLC in UML?
Explain about dynamical behavior view?
How would you define architecture?
Every object has : state, behavior and identity - explain
How are the diagrams divided?
What are the goals of UML?
What is mean by relational and object dbms?