Is it ok to say interfaces,classes are of polymorphism(i.e we can use those for different purposes).if not then why?

Showing Answers 1 - 6 of 6 Answers

barad

  • Nov 17th, 2006
 

   hi friend,

               the purpose of class and interface is different, one different is interfaces supports multiple inheritance and class does not

  Was this answer useful?  Yes

viji

  • Nov 20th, 2006
 

 Inorder to reduce memory space and accessing the class members without instanciate Object is the Interface which will contain only abstract methods

  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