Write a program in java to take 2 arrays(say ar[] and ar1[]) having numbers stored in ascending order in both. Take a third array(say ar2[]) to store the elements of both the previous arrays so that the resulting elements are also in ascending order.
Example:
ar[]={2,4,6,8}
ar1[]={3,5,7,9}
ar2[]={2,3,4,5,6,7,8,9}
NOTE: No sorting techniques allowed and no 4th array must be taken
Please help me in this program...