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 features that are provided to make a program modular?
What are the various types of constructors?
Can we have a default method definition in the interface without specifying the keyword "default"?
Explain persistence?
Why use oops?
Write a program to show the inheritance used in a class.
What is difference between polymorphism and normalization?
What do you mean by operator overloading?
How do you prevent a class from being inherited by another class?
How to define an abstract class?
Can I implement polymorphism using abstract class?
What is the use of finalize method?
How to achieve data abstraction?
Difference between abstraction and implementation hiding ?
What is operator overloading?