Arrange the lines of code in the correct order to override the myMethod method in MyDerivedClass.
Computer scienceProgramming languagesKotlinObject-oriented programmingObject-oriented programming basic
Final members
Arrange code lines
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
}
println("Overridden implementation")
override fun myMethod() {
class MyDerivedClass : MyBaseClass() {
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
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.