java concat char array
Description. concat creates a new array consisting of the elements in the object on which it is called, followed in order by, for each argument, the elements of that argument (if the argument is an array) or the argument itself (if the argument is not an array).lements of the original arrays are copied into the new array as follows: 1  Object references (and not the actual object): concat copies object references into the new array. 2  Strings and numbers (not String and Number objects): concat copies the values of strings and numbers into the new array.