What are interfaces? or How to support multiple inheritance in Java?

Questions by Beena   answers by Beena

Showing Answers 1 - 1 of 1 Answers

pradeepthi

  • Sep 30th, 2005
 

An interface is a specification that exists between software components that specifies a selected means of interaction, by means of properties of other software modules, which abstract and encapsulate their data.

Java does not support multiple inheritance, allowing a class to extend more than one base class. It does however support implementing multiple "interfaces ", which is similar to multiple inheritance but simpler and safer

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