hi...
plz help me ....
i have an array of integer.......
eg
int [] array ="23,35,521,615"
in the above array at every position an integer is stored.......as u see.....
now i want another array......of integers....and want to have like this
int[] array2[0] = "2335" ,,array[1] = "521615" means two integers at same position in an new array.....

Help me.....i have an array of integers......and want to..have four integer at one position in array
ehsan sadeghi
"int[] array2[0] = "2335" ,,array[1] = "521615" means two integers at same position in an new array....."
What do you mean by this Can you clarfiy your question please
Best Regards,
Rizwan
Aaron Sulwer
why don't you just create a new array and store it down like below:
int[] array2=new int[array.length/2];
for (int a=0;a<array2.length;a++)
geneway
hi...
i mean that.........suppose there is a array of integers......
eg...
array[ 0 ] = 21,,,,, array[ 1 ] = 44, ,,, array[ 2 ] = 35 ,,,,,,,array [3] = 22,,,,,array [ 4 ] = 45,,,,array[5] = 23
now above u see at every position there is a integer saved in the array........now i want another array of integers....to be saved like this........
array [ 0 ] = 2144 ,,,,,array [ 1 ] = 3522 ,,,,,,array [ 2 ] = 4523;
so i mean that i want to read and saved 21 and 44 at same array position in a new array .......likewisw 35 and 22 and on same arraay position...............etc...hopefully u now understand it................