okey....
My problem goes like this
1. i have method A which gives the size of a 2 dimensional array
2.With the use of the array i need to add elememts resulting from the method B
i declare the array in this way
String arr[][] =new String [foundnum][3];
3. within method B i have a
an iteration(for loop)
{
if statement
{
for (i=0; i<foundnum; i++)
{
arr[i][0] ="something";
arr[i][0] ="something";
arr[i][0] ="something";
}
}
if statement2
{
/////
my problem starts here what do i do if i want to continue adding.....
into arr[i][0] ="something";
arr[i][0] ="something";
arr[i][0] ="something";
the i value should start from 2
if i another for loop it overides the previous right?
Can i have the looping out of the if statements?
}
}