Choose the correct member for the method:
Computer scienceProgramming languagesKotlinObject-oriented programmingObject-oriented programming basic
Final members
Final or open members
Report a typo
Fill in the gaps with the relevant elements
open class MyBaseClass {
fun myMethod() {
println("Basic implementation")
}
}
class MyDerivedClass : MyBaseClass() {
override fun myMethod() {
println("Overridden implementation")
}
}Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.