A

Admin • 833.24K Points
Coach

Q. How do you define an infix function in Kotlin?

  • (A) fun infix name()
  • (B) infix fun name()
  • (C) def infix name()
  • (D) infix() fun name()
  • Correct Answer - Option(B)
  • Views: 23
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

Use 'infix fun' to define an infix function in Kotlin.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.