List. Groovy allows to initialize List via square brackets: List<Integer> list = [1,2,3,4] println list println list.size() [1, 2, 3, 4]
確定! 回上一頁