A

Admin • 833.24K Points
Coach

Q. Which collection is immutable in Kotlin?

  • (A) arrayListOf()
  • (B) mutableListOf()
  • (C) listOf()
  • (D) arrayOf()
  • Correct Answer - Option(C)
  • Views: 26
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

listOf() creates an immutable list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.