scala-notes
  • Introduction
  • functional programming
  • Compiling Running Program
  • Tuples
  • Collections
    • Maps
  • Control Structures
    • For Loop
    • Case
    • WhileDoWhile
  • Functions
    • Named Functions
    • [Function Values]Using Functions as Variables
    • Syntax
    • Notes
  • Scala Symbols
  • REPL Editor Notes
    • Paste Mode
  • Statically Typed
  • References
  • Classes
    • Primary Constructor
    • Getters And Setters
    • Variations
  • Java vs Scala
    • Classes - Primary Constructor
    • Scala Syntax
  • Ways To Run program
  • functional programming
Powered by GitBook
On this page

Was this helpful?

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.

PreviousScala SyntaxNextfunctional programming

Last updated 5 years ago

Was this helpful?