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 UML diagrams?
Detail whether UML can be used as a programming language?
What is the difference between Activity and sequence diagrams?
State some of the criticisms present with UML?
What is sdlc (software development life cycle)?
Explain all elements of a State-chart diagram.
Explain the types of diagrams in UML.
Explain about executable UML?
What are the different elements of a collaboration diagram?
how will u use com+ register
What is the purpose of UML diagrams?
What is a uml use case diagram (ucd), and when should you use it?
What are the rules specified for invariants in first order and second order information?
What are assertion facets used for in uml?
Can you give us a brief defining the architecture?