A list is an ordered collection of elements with indexed access. Kotlin separates read-only List from MutableList — the former has no add/remove; the latter extends List with mutating operations. Use listOf and mutableListOf factories; avoid ArrayList unless you need a specific JVM type.
Immutable-style list
Content is available with subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.