how to differenciate an interface and inheritancs ?

how to differenciate an interface and inheritancs while both have same implementation sign( : );
plz give brief answer of my quiz

brajesh tripathi
Views: 290 | Community Opinion: 1



Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
John Deter Said..

interface is one of the way to implement inheritance. Inheritance means reusing the culture (method signatures, functionality) of base class in child class. A class can inherit normal class, abstract class or interface.

Interfaces do not provide any functionality itself. They just provide the prototype of methods. And child class which is implementing it, has to implement all the method of that interface.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: