Answer the question
In order to leave comments, you need to log in
How to copy an array of strings?
How to create a copy of arrays of strings?
Answer the question
In order to leave comments, you need to log in
String[] src = new String[]{"A", "B", "C"};
String[] dest = new String[src.length];
System.arraycopy(src, 0, dest, 0, src.length);
Arrays.copyOf for example. And exactly here you need an array?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question