Answers for "how to create a list in kotlin"

4

kotlin list add

// Use mutable list
var mutableList1 = mutableListOf("Garlic","Oignon")  
mutableList1.add("Bean")
Posted by: Guest on April-21-2021
3

make list kotlin

val list = listOf<String>()
Posted by: Guest on September-14-2020

Code answers related to "how to create a list in kotlin"

Browse Popular Code Answers by Language