What is the result?

Report a typo

Take a look at this code snippet:

const val CONST = 3
fun main() {
    val numberLists = mutableListOf<Int>()
    
    numberLists.add(CONST * CONST)
    numberLists.add(CONST * 2)
    numberLists.add(CONST * 1)

    numberLists = mutableListOf<Int>()

    numberLists.add(CONST * 1)
    numberLists.add(CONST * 2)
    numberLists.add(CONST * CONST)
    
    println(numberLists.size)
}

What will the program print to the console?
Please select the correct variant.

Select one option from the list
___

Create a free account to access the full topic