Initialization

Report a typo

Select all the correct ways to initialize a string mutable list:

a)

val stringList = mutableListOf("a", "b", "c")

b)

val stringList = stringMutableListOf("a", "b", "c")

c)

val stringList = mutableListOf<String>()

d)

val stringList = StringMutableList()

e)

val stringList = mutableListOf<String>("aa", "bbb", "cccc")
Select one or more options from the list
___

Create a free account to access the full topic