Java Interfaces - Java tutorial - w3Schools - Chapter-37 English

preview_player
Показать описание
Interfaces are a way to achieve abstraction in Java.

An interface is a completely "abstract class" that is used to group related methods with empty bodies:

To access the interface methods, the interface must be "implemented" by another class with the implements keyword. The body of the interface method is provided by the "implement" class.

Рекомендации по теме