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?
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?
Create a free account to access the full topic