What is the Advantage of Interface over the Inheritance in
OOPS?

Answer Posted / rajendra patidar

On OOPS due to multiple inheritance duplicate value may be
received by derived class, so compiler do not understand
what syntax should compile.
Interface Refuse such type of problem in java.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a varargs method be overloaded?

704


Explain the advantages of inheritance.

759


What is ambiguity in inheritance?

707


Why is polymorphism needed?

694


What is oops concept with example?

659






What is overriding in oop?

653


what is the sylabus for priliminaries?

1799


Why polymorphism is used in oops?

670


How do you define social class?

682


Why do we use polymorphism in oops?

678


Is react oop?

708


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1526


What is the real life example of polymorphism?

713


What is abstraction in oops with example?

874


What is the benefit of oop?

648