fork download
  1. object Main extends App {
  2. var ary1 = Seq(1, 2, 3);
  3. var ary2 = Seq(Seq(11, 12, 13), Seq(21, 22, 23), Seq(31, 32, 33));
  4. println(ary1(0));
  5. println(ary2(1)(2));
  6. }
Success #stdin #stdout 0.44s 65936KB
stdin
Standard input is empty
stdout
1
23