I need to concatenate two String arrays in Java.
String
void f(String[] first, String[] second) { String[] both = ??? }
What is t
ArrayList both = new ArrayList(Arrays.asList(first)); both.addAll(Arrays.asList(second)); both.toArray(new String[0]);