A.Array(1,7,2,9).sum //等于19B.Array(1,7,2,9).sorted //等于Array(9,7,2,1)C.Array("one","two","three").max //等于"two"D.Array("one","two","three").mkString("-")//等于"one-two-three"
A.object A{var str =“”}B.object A(str:String){}C.object A{def str =“”}D.object A{val str =“”}
A.R 读取(read)B.E 求值(evaluate)C.P 解析(Parse)D.L 循环(Loop)