Kotlin, Android App Development.
delegating its methods to another object. It’s like asking someone else to do a task for you, but you still get the credit for it! Here’s a simple example: Suppose you have an interface called Speaker: interface Speaker { fun speak(message: String) } And you want your AndroidPhone class to speak,