Using Java language to merge two array a 1351111 b 2468 fi

Using Java language to merge two array

a = {1,3,5,-1,-1,-1,-1}

b = {2,4,6,8}

final = { 1,2,3,45,6,8}

thanks a lot!

Solution

Please find the required program along with its output. Please see the comments against each line to understand the step.

-----------------------------------------------

OUTPUT:

Final Array
1 2 3 4 5 6 8

Using Java language to merge two array a = {1,3,5,-1,-1,-1,-1} b = {2,4,6,8} final = { 1,2,3,45,6,8} thanks a lot!SolutionPlease find the required program along

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site