Difference: 'uses', 'extends', 'includes'
Answer Posted / prasad
"X uses Y" indicates that the task "X" has a subtask "Y";
that is, in the process of completing task "X", task "Y"
will be completed at least once.
"X extends Y" indecates that "X" is a task of the same type
as "Y", but "X" is a special, more specific case of
doing "Y". That is, doing X is a lot like doing Y, but X
has a few extra processes to it that go above and beyond
the things that must be done in order to complete Y.
| Is This Answer Correct ? | 41 Yes | 7 No |
Post New Answer View All Answers
What are the major differences between late and dynamic binding?
Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?
Explain about uml?
What do you mean by polymorphism?
What is the default access modifier in a class?
What is the use if instanceof keyword?
What are the methods required to create changes in subclasses?
What are virtual functions, base class pointer, derived class pointer, biding references?
What is a static method? Why do we need static methods in java 8 interfaces?
Which oops concept is used as reuse mechanism?
Can we override static methods of a class?
What is difference between static and non-static fields of a class?
What is the difference between an abstract class and interface in java?
What is the benefit of Composition over Inheritance?
Why do we use oops concepts? What is its advantage?