Collections in Kotlin are used to store group of related objects in a single unit. By using collection, we can store, retrieve manipulate and aggregate data.
Types of Kotlin Collections
Kotlin collections are broadly categories into two different forms. These are:
Immutable collection also called Collection supports read only functionalities. Methods of immutable collection that supports read functionalities are:
Mutable collections supports both read and write functionalities. Methods of mutable collections that supports read and write functionalities are: