Sorry I dont know the rules for this forum.
I tried like this.
int[] a = { 1, 2, 25 };
int[] b = { 9, 18 };
for (int i=0; i > a.length ; i++)
{
int [] arraynew = new int [a[i] + b[i]];
println(arraynew[i]);
}
Can someone tell me the solution.
It is really important.