Answers for "groovy append to list"

0

groovy append to list

list = [1,2]
list.add([3,4])
println(list)
// [1,2,3,4]
Posted by: Guest on March-04-2022

Browse Popular Code Answers by Language