Arrange the lines of code in the correct order to declare MyBaseClass and its myMethod method as open.
Computer scienceProgramming languagesKotlinObject-oriented programmingObject-oriented programming basic
Final members
Rearrange to declare
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
open fun myMethod() {
}
println("Basic implementation")
}
open class 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.