Scala 如何定义范型数组啊

zccsuper 2014-10-16
请教大牛,如题
kidneyball 2014-10-16
Array[String]("abc", "123") //> res4: Array[String] = Array(abc, 123)
Array[String](1) //> error: type mismatch;
Global site tag (gtag.js) - Google Analytics