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
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What do you mean by overloading?
Why do we use polymorphism in oops?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is multilevel inheritance in oop?
What is polymorphism oop?
What is basic concept of oop?
How do you explain polymorphism?
What is difference between multiple inheritance and multilevel inheritance?
What is object and class in oops?
Can you explain polymorphism?
Why multiple inheritance is not allowed?
Why is object oriented programming so hard?
What do you mean by Encapsulation?
What are different oops concepts?