In Java an array can be initialized such as:

int numbers[] = new int[] {10, 20, 30, 40, 50}

How does Kotlin’s array initialization look like?

23 Answers
23

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *