Home > Back-end >  How to merge the two array
How to merge the two array

Time:03-27

Array is A [} {1, basketball, football
{2, running, music}]
Array B [{1,}
} {2, reading]
Array C [} {1, basketball, football, game
{2, running, music, reading}]
I want array C array, A and B are large array with thousands of data, in addition to traverse any good way for the two array

CodePudding user response:

Commons - lang package ArrayUtils addAll method
  • Related