← Back

Interfaces

Contract specifying methods without implementation (prior to default methods).

oopjavaabstractionUpdated 2025-09-01

Usage

  • Enable multiple type inheritance

Example

  • interface Fly { void flap(); }