Correct statement in the code

Report a typo

Arrange the lines of code for the application to work correctly.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                val cat = Cat()
              
                class Cat: Animal() {
              
                }
              
                open class Animal {
              
                }
              
                override val sound: String = "meow"
              
                }
              
                fun main() {
              
                println(cat.sound)
              
                open val sound: String = "silent"
              

Create a free account to access the full topic