What is the Advantage of Interface over the Inheritance in
OOPS?
Answer Posted / iyappan_protech
1)Interface totally keeps away that implementation
knowledge from client.
2)It supports us to change their behaviour dynamically.It
means that, it will act depends on dynamic specilization(or
substitution).
3)This gives very good abstraction about the object to
client.
4)It avoids client broken, even developer made some changes
on implimentation or add new specilization(new
implementation).
5)So it gives open way to extend and implementation.
Is This Answer Correct ? | 16 Yes | 11 No |
Post New Answer View All Answers
What are the 4 main oop principles?
How is polymorphism achieved?
2. Give the different notations for the class.\
Which language is pure oop?
What are the three main types of variables?
What is the real life example of polymorphism?
what are the ways in which a constructors can be called?
Is abstract thinking intelligence?
What is difference between multiple inheritance and multilevel inheritance?
What is class and object with example?
Why is abstraction needed?
What do you mean by variable?
any one please tell me the purpose of operator overloading
What is byval and byref? What are differences between them?
Explain the concepts involved in Object Oriented programming.