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
Can a varargs method be overloaded?
Explain the advantages of inheritance.
What is ambiguity in inheritance?
Why is polymorphism needed?
What is oops concept with example?
What is overriding in oop?
what is the sylabus for priliminaries?
Why polymorphism is used in oops?
How do you define social class?
Why do we use polymorphism in oops?
Is react oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is the real life example of polymorphism? What is abstraction in oops with example? What is the benefit of oop?