So, in this chapter, we learned about collections and how to use them, or rather, how to utilize the collection objects rather than creating own data structures. We learned that there are two types of collections, namely mutable collections and immutable collections, and we learned to use them. We learned about the various collection types, including lists, maps and sets. We also learned about various data operations on collections. We started the chapter by exploring the collections framework in Kotlin and the data structure of collections. We gradually moved toward learning the data operations and functions that the Kotlin collections framework provides out of the box.
In Chapter 9, Introduction to Functional Programming, we will learn about functional programming, and how to implement it with the Kotlin language. We will also get introduced to the new functional library...