Lesson 1 of 15
Hello, World!
Your First Scala Program
In Scala, println prints a value followed by a newline:
println("Hello, World!")
You can print multiple things by calling println multiple times, or concatenate with +:
println("Hello, " + "Scala!")
println(42)
println(true)
Comments
// Single-line comment
/* Multi-line
comment */
Your Task
Print exactly Hello, World!.
JS Transpiler loading...
Loading...
Click "Run" to execute your code.