Match the functions and their descriptions:
Reading files
Know all the functions
Report a typo
Match the items from left and right columns
readText()
readLines()
readBytes()
forEachLine
Reads the whole file and stores it as a variable of type ByteArray
Reads the whole file and stores it as a variable of type List
Reads the whole file and stores it as a variable of type String
Reads the whole file and calls a certain action on each line
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.