Abstract Class | Interface

 
Abstract Class
Interface
Describes
Attributes, methods
Methods
For classes
With close connections (inheritance)
That could have nothing in common
Multiple Inheritance
Key words
Implements interface
Extends class
Extends interface
Attributes
Methods without realisation
(
abstract
keyword)
Methods with realisation
(
default
keyword)
Constructor
Access modifiers
any
public
(default),
private
for methods with realisation
Comments