changeset 353 | bb6074814a73 |
parent 335 | 7e00d2b13b04 |
--- a/progs/hello-world.scala Fri Nov 06 01:07:26 2020 +0000 +++ b/progs/hello-world.scala Sat Nov 07 19:13:06 2020 +0000 @@ -1,14 +1,3 @@ -object Hello //extends App -{ - var x = 1 - - println("test") - - x = x + 2 - - println("foo") - - synchronized { x = x + 1 } - +object Hello extends App { println("hello world") }