Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Groovy
groovy add array to array
somo1994
Programming language:
Groovy
2021-02-01 00:32:51
0
Q:
groovy add array to array
G.Lin
Code:
Groovy
2021-02-01 00:41:57
def a = [1, 2, 3] def b = [4, 5, 6] a << b println a [1, 2, 3, [4, 5, 6]]
0
Tags
array
add
New to Communities?
Join the community