What is difference in between abstrct classes and interfaces ?

 Posted by Rahulshukla on 10/21/2011 | Category: OOPS Interview questions | Views: 5153 | Points: 40

An interface offers an alternative to an abstract class for creating contract among classes and their client. The main difference in between abstract class and interface are given bellow
1. Abstract classes can have concrete methods while interfaces have no methods implemented.

2.Interface do not come in inheriting chain,while abstract classes come in inheritance .

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Rahulshukla