var x:Int = 10
val x:Int = 10
var xs1:Array[Int] = new Array[Int](10); var xs2:Array[Int] = Array[Int](1,2,3); var a = xs2(0) // a = 1;