Scala Program
(Redirected from Scala program)
Jump to navigation
Jump to search
A Scala program is a computer program composed of Scala code (written in the Scala programming language).
- Context:
- It can (typically) define and use Scala Variables.
- It can (typically) define and use Scala Classes (with one or more Scala Methods).
- It can (typically) define and use Scala Control Statements.
- It can (typically) be compiled into Java Bytecode and executed on a JVM.
- It can import a Scala Library (such as a Scala standard library).
- It can interoperate with a Scala-interfacing Framework (such as Play framework).
- It can range from being a Scala Shell Program to being a Scala non-Shell Program.
- Example(s)
- a helloWorld.scala.
- a pointStats.scala.
- …
- Counter-Example(s):
- a Java Program.
- a Kotlin Program.
- See: Object-Oriented Program, Scala Code Fragment.