Interfaces
Discover Kotlin interfaces and define properties and methods for class implementation and conflicts in multi-interface scenarios.
Defining interfaces
An interface defines a set of properties and methods that a class should have. We define interfaces with the interface
keyword, a name, and a body with the expected properties and methods.
Get hands-on with 1400+ tech skills courses.