A

Admin • 833K Points
Coach

Q. What will be the result of `println(5 in 1..10)`?

  • (A) true
  • (B) false
  • (C) 5
  • (D) 1..10
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

The expression checks if 5 is in the range 1 to 10, which is true.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.