A

Admin • 833K Points
Coach

Q. Which method returns the index of the first matching element?

  • (A) indexOf()
  • (B) findIndex()
  • (C) firstIndex()
  • (D) search()
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

indexOf() returns the index of the first matching element.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.