2.2Running the example
Once compiled, a Scala program can be run using the scala command. Its usage is
very similar to the java command used to run Java programs, and accepts the same
options. The above example can be executed using the following command, which
produces the expected output:
> scala -classpath . HelloWorld
Hello, world!