progs/hello-world.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Wed, 04 Nov 2020 14:46:03 +0000
changeset 349 682611a0fb89
parent 335 7e00d2b13b04
child 353 bb6074814a73
permissions -rw-r--r--
updated jars

object Hello //extends App 
{ 
  var x = 1 

  println("test")

  x = x + 2

  println("foo")

  synchronized { x = x + 1 }

  println("hello world")
}