A

Admin • 833K Points
Coach

Q. Which function returns the number of items in a collection?

  • (A) length()
  • (B) count()
  • (C) total()
  • (D) size()
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

count() returns the number of elements in a collection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.