Tutorial by Topics: delegation



A Kotlin class may implement an interface by delegating its methods and properties to another object that implements that interface. This provides a way to compose behavior using association rather than inheritance.


Page 1 of 1