Skip to content
Subjects
Code examples
Library reference
Computer Programming
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Tutorial menu
×
Subjects
Computer Programming
Maths
Planned
Chemistry
Planned
Lesson contents
Programming resources
All languages
Code examples
Library reference
Programming languages
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Tutorials
/
Computer Programming
/
Scala
/
Library
/
More library topics
More Scala library references
Explore additional libraries and worked examples for this language.
Source.getLines and Using.resource
Search this section
Search
Source.getLines and Using.resource
Read and close a line source
All Scala library sections