val collection = Array(1, 2, 3, 4) collection.foreach(println)