Introduction to Arrays
These tutorial provides an introduction to arrays in Kotlin.
Create Arrays
These tutorial cover the basics of creating arrays.
- Kotlin – Create an Array of strings
- Kotlin – Create an Array of integers
- Kotlin – Create an empty Array
Array Basics
These tutorial cover the topics on accessing array elements and iterating over arrays.
- Kotlin – Print an Array
- Kotlin – Array length / size
- Kotlin – Iterate over an Array using For loop
- Kotlin – Iterate over an Array using While loop
- Kotlin – Get first element in Array
- Kotlin – Get last element in Array
Update Arrays
These tutorial cover the topics on adding elements to arrays, and modifying array values.
- Kotlin – Add element to Array
- Kotlin – Add Array to Array
- Kotlin – Update an Array element at specific index
- Kotlin – Delete specific element from Array
- Kotlin – Delete element at specific index in Array
Array Checks
These tutorial cover the topics on different types of checks that we usually encounter while working with Arrays.
Searching
These tutorial cover the topics on search operations done on Arrays, like searching for an element, etc.
- Kotlin – Get index of given element in the Array
- Kotlin – Get last index of given element in the Array
Array Operations
These tutorial cover the topics on other Array operations like ordering, sorting, filtering, etc.