摘要:
object ArrayOperate extends App { /** * 定长数组 */ val nums = new Array[Int](10) //10个整数的数组,所有元素初始化值为0 //访问数组元素用() println(nums(1)) //返回值为 0 val s = Array("Hello", "World")//长度为2的Arra... 阅读全文
posted @ 2018-08-13 22:44
mke
阅读(124)
评论(0)
推荐(0)

浙公网安备 33010602011771号