A definition of only the method specifications that a class must implement.
A type that defines only method signatures without any implementation, guaranteeing common behavior across different classes. Even in languages with single inheritance, a class can implement multiple interfaces at once, which is also used as a way to get multiple-inheritance-like flexibility without the implementation conflicts that come with it.
© 2026 ITBGM