Organizational Research By

Surprising Reserch 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

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.