Question 1 of 5Score: 0

Scala quiz

What does this example demonstrate?

Scala
object Main {
  def main(args: Array[String]): Unit = {
    val name = "Ada"
    println(s"Hello, $name")
  }
}
Choose one answer
Review lesson →