Core Java theorytheory 0/50 · 0%
OOP · easy

14. Interfaces

Defining a contract.

Interfaces define methods that implementing classes must provide. A class can implement multiple interfaces.

Check your understanding

  1. 1. Keyword for interface usage?

  2. 2. Can an interface have fields?