A Admin • 802.91K Points Coach Report Q. Which of the following is a correct way to create a list in Kotlin? (A) val list = List(1, 2, 3) (B) val list = [1, 2, 3] (C) val list = listOf(1, 2, 3) (D) val list = makeList(1, 2, 3) Correct Answer - Option(C) Views: 2 Filed under category Kotlin Hashtags: Share Manage Tags
Discusssion
Login to discuss.