Choose the piece of code that will make the following program throw an exception.
Array exceptions
When an exception occurs
Report a typo
Fill in the gaps with the relevant elements
fun main() {
val characters = charArrayOf('a', 'b', 'c')
val character =
}Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.