Accessing List Elements
The Size Property
Accessing Set Elements
var programmingLanguages = listOf("C#", "Java", "Kotlin", "Ruby")
An immutable list represents a group of elements with read-only operations.
It can be declared with the term
listOf, followed by a pair of parentheses containing elements that are separated by commas.
In this lesson, you’ve learned about the various types of collections that exist in Kotlin. In this project, you’ll be honing your knowledge of lists, sets, and maps as well as all previously covered Kotlin concepts, by building a program that keeps track of a caregiver's daily responsibilities at an animal sanctuary.