Given two one-dimensional arrays and we have to merge them using java program.
Example:
Input:
Array 1 (elements will be read in program): 1 2 3 4 5 6 7 8 9 10
Array 2 (elements will be read in program): 11 12 13 14 15
Output:
New array (After merging elements)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Program to merge two one-dimensional array elements in java
Output
need an explanation for this answer? contact us directly to get an explanation for this answer