Answer:
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