Explore Library
KotlinIntroduction & Core Concepts

50 items

FlashcardBeginner

Reading Input with readLine()

readLine() reads a line of text from standard input and returns a nullable String.

Question

How do you read console input in Kotlin?

Click to reveal answer