ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which method is used to get user input in Kotlin?
readLine()
getInput()
readInput()
scanInput()
Correct Answer: A — readLine()
The readLine() function reads input from the console in Kotlin.