![]() What is an array?Īn array is an ordered collection of values of the same type. Arrays are typed, just like regular variables and constants, and store multiple values in a contiguous portion of memory.īefore you create your first array, take some time to consider in detail what an array is and why you might want to use one. ArraysĪrrays in Kotlin correspond to the basic array type available in Java. ![]() Two of the most common collections types in Kotlin are arrays and lists.
0 Comments
Leave a Reply. |