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 abstract methods?
Explain about inheritance?
What is operator overloading and polymorphism?
What is the use of finalize method?
Can you instantiate an abstract class and what is an inner class?
What is operator overloading?
Explain about the design phase?
What is the default access modifier in a class?
Difference between encapsulation and data hiding ?
What is the main use of message metaphor in object-oriented programming?
What is virtual?
What is a final variable?
Why we use oops concepts? What is its advantage?
What is the use of destructive method?
What is the difference between a class and an object?