What is the difference between uses and extends?



What is the difference between uses and extends?..

Answer / Sushmita Kesari

In UML, 'uses' relationship implies that one class uses another class, but does not inherit its properties or methods. The 'extends' relationship means that a subclass inherits the properties and methods of its superclass.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More UML Interview Questions

Explain the different elements of a Use Case?

1 Answers  


In the unified process, during which phases is requirement analysis mainly carried out?

4 Answers   Oracle,


what the latest software develoment Methodologies?

1 Answers   NIC,


Explain about package diagram?

1 Answers  


how to define the models in the uml diagrams?

2 Answers  


Define three type of design patterns?

1 Answers  


What is object diagram in UML?

1 Answers  


What is deployment diagram in UML?

1 Answers  


What is an activity diagram?

1 Answers  


What is behavioral diagram in UML?

1 Answers  


What are the elements in State Chart diagrams?

1 Answers  


What are structural diagrams in UML?

1 Answers  


Categories