Ways To Run program
Beginning Scala Chapter 1
Scala at the Command Line and Scala Scripts
Scala offers different ways to run programs:
• Interactively at a REPL command line.
• Single-file Scala scripts.
• Compile your Scala programs into class files that can be combined into JAR files, as in Java.
We will now look at each of these ways to run programs.
Last updated
Was this helpful?