forum

home / developersection / forums / how to concatenate two arrays in java?

How to concatenate two arrays in Java?

Anonymous User 2038 16-May-2015
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?

Updated on 16-May-2015

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By