Scala - Scala Command (Execute Bytecode)
About
The scala command executes the generated bytecode.
Articles Related
Syntax
scala HelloWorld
scala allows us to specify command options, such as the -classpath (alias -cp) option:
scala -cp classes HelloWorld
The argument of the scala command has to be a top-level object.