Difference between Abstract Class and Interface
Difference between abstract class and interface ?
1) Can have abstract and non-abstract method both.
2) One class can extend at most one class.
3) can declare non abstract method and also can define body for it.
1) can have only abstract method.
2) One class can implement multiple interfaces.
3) can't delare body to a method.
Please look below example for more understanding:-