October 2018
Intermediate to advanced
370 pages
9h 15m
English
Lists are widely used data structures that hold a number of items in a sequence. Lists are an advanced form of arrays, in which the items are formed in an order. Kotlin provides two different types of lists:
Lists that do not allow us to update their contents and provide only read-only functionality are called immutable lists. Lists that allow us to add new elements and update existing elements are called mutable lists. Kotlin provides a number of interfaces and methods that are made for both mutable and immutable lists.
Read now
Unlock full access