How to Create an Empty Mutable List in Kotlin
Before diving into the examples, we must understand two common terms when working with the type List data. The terms include mutable and immutable. A mutable list is a list that can be modified by adding or removing elements in the data structure. An immutable list is a list that cannot be modified by either adding or removing elements in the data structure. From the two terms, we can have two types of lists that include List and MutableList.