New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How to merge two arrays in java?
2 Answers
0
String[] both = (String[])ArrayUtils.addAll(first, second);
if you use java, try this
0
using the method add of arrays, and import the utils class