Kotlin, Android App Development.
fun print(message: String) } class ConsolePrinter : Printer { override fun print(message: String) { println(message) } } class Logger(printer: Printer) : Printer by printer fun main() { val consolePrinter = ConsolePrinter() val logger = Logger(consolePrinter) logger.print("Hello, Kotlin