Tuesday, 15 August 2017

How can I concatenate two arrays in Java?

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?

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...