Fix bugs

Report a typo

Fix the bugs so that the returnName function of the ActuallyMe class can be overridden correctly.

Write a program in Kotlin
private class Me {
open fun returnName(name: String): String = "My name is $name"
}

open class ActuallyMe : Me() {
fun returnName(name: String): String = "Actually, my name is $name"
}
___

Create a free account to access the full topic