Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


What is the difference between Abstract classes and Interfaces ?


Difference between Abstract class and Interface is as follows:- 
Abstract class can only be inherited while interfaces can not be it has to be implemented. 
Interface cannot implement any methods, whereas an abstract class can have implementation. 
Class can implement many interfaces but can have only one super class. 
Interface is not part of the class hierarchy while Abstract class comes in through inheritance. 
Unrelated classes can implement the same interface.
 

asked Sep 13, 2013 in oops by rajesh
edited Sep 12, 2013
0 votes
26 views



Related Hot Questions



Government Jobs Opening


...