Monday, 29 February 2016

How to combine two arrays in Groovy


Here array1 and array2 are two different arrays. if you need to combine all elements in single array we will use addAll function. it is pushes the all elements of array2 to array1. addAll returns a boolean value.

No comments:

Post a Comment