Computer Science, asked by fadilahkhanA, 5 months ago

format of merging two arrays in java


no spam...or else it will be reported definitely ​

Answers

Answered by Yamini2110
2

Answer:

public class MergeArrayExample3.

{

public static void main(String[] args)

{

int[] firstArray = {56,78,90,32,67,12}; //initialized array.

int[] secondArray = {11,14,9,5,2,23,15};

int length = firstArray.length + secondArray.length; //add the length of firstArray into secondArray.

Similar questions