Kotlin
ArrayList
Jinny96
2022. 7. 22. 20:17
val a = arrayListOf<Int>()
a.add(10)
a.add(20)
a[0] = 5
길이 조정 가능 (array와 차이점)
값 변경 가능 (List와 차이점)