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
What is encapsulation in oop?
What is coupling in oop?
What is class encapsulation?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is protected in oop?
What is class in oop with example?
What is the diamond problem in inheritance?
Why we use classes in oop?
How is class defined?
What is destructor in oop?
What is polymorphism and types?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is multilevel inheritance in oop?
What is overriding vs overloading?
What is overriding in oops?