In this lesson, you’ve been introduced to the concept of collections and the array data type. Arrays are a group of data types that can hold many data in a single variable. They are similar in structure to collections but have unique characteristics.
In Kotlin, arrays can only contain one type of data at a time. There are different types of collections in Kotlin. Each type has special properties. These properties make collections suitable for representing different kinds of grouped data.
In this lesson, you’ve learned about the following:
Collections.
Lists, Sets, and Maps.
The purpose of arrays in Kotlin.
How to create an array that contains a specific type.
Sequences.
Congratulations! You’ve completed module 1 of the “Learning the Kotlin Programming Language” learning path. In the next module, you’ll dive into control flow in Kotlin.
See forum comments
This content was released on May 22 2024. The official support period is 6-months
from this date.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous: Demo 2
Next: Learn the Kotlin Language: Use of Collections
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.