forum

Home / DeveloperSection / Forums / How to concatenate two arrays in Java?

How to concatenate two arrays in Java?

Anonymous User 1814 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 !

Can you answer this question?


Answer

1 Answers

Liked By