Pustaka Taratsa
KOTLIN: List

KOTLIN: List

Penulis: Onno Widodo Purbo

Sumber: https://www.tutorialspoint.com/kotlin/kotlin_lists.htm Kotlin list is an ordered collection of items. A Kotlin list can be either mutable (mutableListOf) or read-only (listOf). The elements of list can be accessed using indices. Kotlin mutable or immutable lists can have duplicate elements. Contents 1 Creating Kotlin Lists 1.1 Example 2 Loop through Kotlin Lists 3 Using Iterator 4 Using