Interface

Meaning

A shared boundary across which two or more separate components exchange information.

Usage Examples

  • Interfaces define methods that a class must implement.
  • In Java, interfaces are declared using the 'interface' keyword.
  • Interfaces allow for the separation of implementation and definition.
  • Multiple classes can implement the same interface.