A

Admin • 828.03K Points
Coach

Q. What is the output of `println("Hello" is String)`?

  • (A) true
  • (B) false
  • (C) Error
  • (D) String
  • Correct Answer - Option(A)
  • Views: 5
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
'is' checks whether an object is of a specified type. 'Hello' is a String.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.