A

Admin • 833K Points
Coach

Q. How do you create an immutable map in Kotlin?

  • (A) mapOf()
  • (B) immutableMap()
  • (C) dict()
  • (D) hashMapOf()
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

'mapOf()' creates an immutable map.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.