Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / iyappan_protech

1)Interface totally keeps away that implementation
knowledge from client.
2)It supports us to change their behaviour dynamically.It
means that, it will act depends on dynamic specilization(or
substitution).
3)This gives very good abstraction about the object to
client.
4)It avoids client broken, even developer made some changes
on implimentation or add new specilization(new
implementation).
5)So it gives open way to extend and implementation.

Is This Answer Correct ?    16 Yes 11 No

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

Answer / poorna chandar rao

in inheritence is not support the multiple inhertence but
interface is supported multiple inhertence because imterface
is advatage over the inhertience

Is This Answer Correct ?    8 Yes 10 No

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

Answer / 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

More OOPS Interview Questions

how to swap to variables without using thrid variable in java?

5 Answers  


1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 Answers   Nagarro,


What is cohesion in oop?

0 Answers  


what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use

2 Answers   HCL,


What is encapsulation and abstraction? How are they implemented in C++?

0 Answers   Agilent, ZS Associates,


inheritence with example

1 Answers  


What is solid in oops?

0 Answers  


What is difference between oop and pop?

0 Answers  


Why is encapsulation used?

0 Answers  


What is polymorphism and its types?

0 Answers  


How to call a non virtual function in the derived class by using base class pointer

3 Answers   HCL,


Why do we use polymorphism?

0 Answers  


Categories