Difference between Abstract and Interface
S.No. | Abstract | Interface |
1 | abstract classes can have properties | It can not have properties |
2 | All methods is public or protected | Methods are implicitly public, no access modifiers supported |
3 | Abstract class contains Constructors | Interface does not contain Constructors |
4 | Use extends keyword | Use implements keyword |