What is the error?

Report a typo

Look at this code. When we run the program, it throws an error.

fun main() {
    const val CONST = 3_000
    val numberLists = mutableListOf(1, 2, 3, 4, 5)
    numberLists.add(CONST)
    println(numberLists)
}

Please select the correct kind of the thrown error.

Don't think about the cycle in this question, think about the topic you've learned.

Select one option from the list
___

Create a free account to access the full topic