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

Answer Posted / mms zubeir

1. Provides flexibility in implementing the operations for
the derived classes.

2. Avoid conflicts when more than one interfaces are
derived in a class.

I will club some more later...

Is This Answer Correct ?    28 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you overcome the diamond problem in inheritance?

768


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6152


What is the difference between a mixin and inheritance?

522


What is purpose of inheritance?

645


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1147






Explain virtual inheritance?

682


What are different oops concepts?

578


Is abstract thinking intelligence?

594


Get me an image implementation program.

1559


any one please tell me the purpose of operator overloading

1967


What is multilevel inheritance in oop?

557


Is oop better than procedural?

574


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1793


Why do we use class in oops?

555


How do you achieve polymorphism?

616