A

Admin • 833.24K Points
Coach

Q. Which function adds an element to a MutableList in Kotlin?

  • (A) append()
  • (B) push()
  • (C) add()
  • (D) insert()
  • Correct Answer - Option(C)
  • Views: 20
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

add() is used to add elements to a MutableList.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.