How kotlin delegation is useful?

Posted by Andre Scott | Updated on

In this example, I have share how kotlin delegation is useful? Also remember that you’re not restricted to just one delegate. Kotlin’s way of implementing delegation is similar to traits implementation in languages like Groovy. You can compose different functionality via delegates. Kotlin’s way can also be considered more powerful because you can “plug in” different implementations too.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers