What is difference between abstract class and interface?
The Abstract class and Interface both are used to have abstraction.
Abstract class can inherit another class using extends keyword and implement an interface.
Interface can inherit only an inteface.
Abstract class can be inherited using extends keyword.
Interface can only be implemented using implements keyword.