📌  相关文章
📜  regroupe les éléments de 2 tableaux java - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:32.760000             🧑  作者: Mango

代码示例1
import java.util.Arrays;
import org.apache.commons.lang3.ArrayUtils;

public class SimpleTesting {
    public static void main(String[] args) {
        int[] Array1 = new int[]{00,10,20,30,40,50};
        int[] Array2 = new int[]{60,70,80,90,100};
        int[] Concate = ArrayUtils.addAll(Array1, Array2);
        System.out.println("Array1: " + Arrays.toString(Array1));
        System.out.println("Array2: " + Arrays.toString(Array2));
        System.out.println("Concatenated Array: " + Arrays.toString(Concate)); 
    }
}