?
You have created an array to hold three strings. When you run the code below, the compiler displays an error. Why does the code fail?
You have created an array to hold three strings. When you run the code below, the compiler displays an error. Why does the code fail?
val names = arrayOf(3) names[3]= "Delta"
val names = arrayOf(3) names[3]= "Delta"
Join the Discussion
Login to post a comment or share your explanation.
Login