More
- Lengths of array
- Left facing arrow <-
examples/Names.scala
object Names { def main(args:Array[String]) { val names = List("Foo", "Bar") //List <String> names = new ArrayList<String>() println(names) //names.add("Zorg") //println(names) } }
examples/Try.scala
object Try { def main(args:Array[String]) { var counter:Int = 0 println(counter) counter = 1 } }