A

Admin • 833K Points
Coach

Q. Which function is used to read input from the console in Kotlin?

  • (A) read()
  • (B) readInput()
  • (C) readLine()
  • (D) input()
  • Correct Answer - Option(C)
  • Views: 12
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

readLine() reads a line of input from the standard input in Kotlin.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.