Kotlin, Android App Development.
print task to ConsolePrinter. So, when logger.print() is called, ConsolePrinter does the actual printing. That's Kotlin delegation in action! 2. How does interface delegation work in Kotlin, and what benefits does it offer? In Kotlin, interface delegation allows you to implement an interface by