OOPs Interface

Why interfaces is needed in Java?

Showing Answers 1 - 9 of 9 Answers

soujanya

  • Dec 1st, 2015
 

Java doesn't supports Multiple Inheritance. So through Interface we can achive Multiple Inheritance in java

  Was this answer useful?  Yes

Sreenivasulu Medepalli

  • Dec 2nd, 2015
 

If you don't know full implementation of that class at that situation we need to go for interface. In subclass we are implementing that interface and methods.

  Was this answer useful?  Yes

sreenivasulu

  • Dec 2nd, 2015
 

Of course that is right answer. Mainly using interface we are achieving abstraction in Java.

  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