👉   Buy a JavaOne ticket for $400 off, get one for free! Use code:   GODUKE   (details here)   👈

Interfaces

You saw an example of implementing an interface in the previous lesson. You can read more about interfaces here—what they are for, why you might want to write one, and how to write one.


  1. Interfaces

    Using interfaces to design contracts that spells out how their software interacts.

  2. Implementing an Interface

    Using interfaces to design contracts that spells out how their software interacts.

  3. Using an Interface as a Type

    An interface defines a type.



Back to Tutorial List