You have the following program:
fun main() {
val intsList = listOf<Int>(1, 2, 3, 4, 5, 6, 7)
for (i in 0..11) println(intsList[i])
}Its author didn't handle the run-time error, so the program doesn't work right. Run the program and write the name of the thrown exception.
You need to input only one long word after java.lang.