Skip to content

Glossary: Java Beyond the Basics

Interface

Also written: interfaces, implements

A list of methods that classes and records promise to provide, like Discount, without saying how they work. A type may implement many interfaces.

Where the book teaches it

Related terms

Abstract methodPolymorphismDefault method