How to concatenate two arrays in Java?

Posted by Antti Sykäri on Stack Overflow See other posts from Stack Overflow or by Antti Sykäri
Published on 2008-09-17T06:14:23Z Indexed on 2010/05/28 16:42 UTC
Read the original article Hit count: 141

Filed under:
|
|
|
|

I need to concatenate two String arrays in Java.

void f(String[] first, String[] second) {
    String[] both = ???
}

What is the easiest way to do this?

© Stack Overflow or respective owner

Related posts about java

Related posts about beginner