import scala.collection.mutable.ArrayBuffer
var ary=Array(1,2,3)
println(ary.mkString)
println(ary(1))//取出第一个元素
println(ary.toBuffer)//转化成ArrayBuffer var aryb=ArrayBuffer(1,2,3)
println(aryb.toString)
println(aryb.mkString)
println(aryb(1))//取出第一个元素
println(aryb.toArray)//转化成ArrayBuffer
05-02 10:47