Multiple Interface

Why do we need interface concept instead of multiple inheritance? What is the drawback when we use the multiple inheritance?

Questions by Deepa05rajendran

Showing Answers 1 - 9 of 9 Answers

teja0809

  • Feb 1st, 2011
 

Java doesn't support multiple inheritance still if we want to inheritate the one method in more than one class we can define it abstract in interface and we can use it in our class by simply implementing that interface. In this we make our class loosely coupled...

Amol

  • Sep 29th, 2011
 

But then need to implements all methods of interface.

  Was this answer useful?  Yes

sampra

  • Mar 7th, 2012
 

Java doesnt support multiple inheritance still if we want to inheritate the one method in more than one class we can define it abstract in interface and we can use it in our class by simply implementing that interface. In this we make our class loosely coupled...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions