Michael and me

Report a typo

You have the following code:

class Me() {
    companion object Companion {
        val myBrother = "Michael"
    }
}

How can we get the myBrother field and print the resulting word? Write the correct code line.

Enter a short text
___

Create a free account to access the full topic