Skip to content

Glossary: Software Design Patterns in Java

Interface

Also written: interface keyword, implements

The set of methods an object promises to have, whatever its class. Java writes it with `interface`, and each class says `implements`.

Where the book teaches it

Related terms

Interface segregation principle (ISP)Duck typing