ExamVeda
Login
Home
This question belongs to Computer Science Kotlin Program
Kotlin Program
?

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"

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.