Professional Documents
Culture Documents
Difference Between An Interface and An Abstract Class
Difference Between An Interface and An Abstract Class
Difference Between An Interface and An Abstract Class
(javatpoint)
There are a lot of differences between abstract class and interface. There is given some important
differences:
Abstract class can have abstract as well as non-abstract(concrete) methods whereas interface
can have only abstract methods.
Abstract class doesn't support the feature of multiple inheritance whereas interface supports
the feature of multiple inheritance.
Abstract class can have final and non-final variables but interface contains only static final
variables i.e. constants.