Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

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
Download course materials from Github
Previous: Demo 2 Next: Learn the Kotlin Language: Use of Collections