What is an interface in Java?

How to use?

Can only be implemented by classes, cannot be instantiated.

Can be used as type

What is it’s inheritance behaviour?

Can inherit via extends keyword

Permits interface to inherit from multiple interfaces

Permits class to inherit from multiple interfaces

What can it contain?

Can contain constants, static methods

Can contain default method implementation, nested types