Where is the exception?

Report a typo

Run the code you see below and view the stack trace:

fun main() {
    val input = "110 111 32 101 114 114 111 114 32 59 41".split(" ")
    input.forEach { print(it.toInt().toChar()) }
}

In which line of the code does the exception occur?

Select one option from the list
___

Create a free account to access the full topic