List is a more popular collection type in Kotlin than is Array.
The listOf() creation function creates an immutable list. You cannot change
its contents after creation. mutableListOf() gives you a MutableList, which
you can modify if needed.
You can learn more about this in:
Tags: