Class Delegation

suggest change

Introduction

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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents