1 2 3 4 5 6 7 8 9 10 11
object Test { def test() = { java.util.Arrays.asList(Array(1,2,3):_*) } def main(args: Array[String]) = { println(test()) } }