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

What is destructor example?

602


What is coupling in oop?

604


What is advantage of inheritance?

694


How is polymorphism achieved?

587


What is a class and object?

600






What does and I oop mean?

620


what is the drawback of classical methods in oops?

2924


Why do we use oop?

607


Which language is not a true object oriented programming language?

646


What is byval and byref? What are differences between them?

1693


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.

6490


How can you overcome the diamond problem in inheritance?

772


What do you mean by overloading?

586


when to use 'mutable' keyword and when to use 'const cast' in c++

1653


What is the benefit of oop?

573