tuple. tuple 是可存取不同型態的一種物件,它是immutable 的.格式像這樣(element1 , element1 , ...) scala> val nums = (1,"a",2D,3L) nums: (Int, String, Double, ...
確定! 回上一頁