regroupe les éléments de 2 tableaux java

The solution for “regroupe les éléments de 2 tableaux java” can be found here. The following code will assist you in solving the problem.

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));
}
}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in