What is meant by interface

Showing Answers 1 - 3 of 3 Answers

reena sahoo

  • Sep 1st, 2005
 

Interface defines what aclass must do but does not define how to do. all methods are abstract. also like abstract class it cannot be instantiated.

  Was this answer useful?  Yes

riteshyadav14@rediffmail.com

  • Sep 8th, 2005
 

its a java way to deal with multiple inheritance .....

  Was this answer useful?  Yes

skmeer

  • Oct 24th, 2007
 

Interface is used to define set of rules. Interface is a collectionof empty methods. It is solely used as a base class. Class which implents an interface need to provide the implemenation of the methods in the interface.

  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