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 is the default access modifier in a class?
Name some languages which have object oriented language and characteristics?
Can an interface have an inner class?
Give any criteria when you use an abstract class and an interface?
What is a ternary operator?
How to define an interface?
Explain the purpose of composition.
How will you define abstract classes?
What is the difference between an interface and abstract class?
Can you define OOP and principles of OOP?
Define exceptions?
Why is OOP good?
Do we require a parameter for constructors?
What is meant by “abstract interface”?
What is serialization? How do we implement serialization actually?