how to Initialize 2D array but two time in android -


i need initialize 2d array 2 time

create array json_1_all


public static string[][] json_1_all; 

json_1_all = new string [jsontabs.length()]**[]**; 

and

for(int = 0; < jsontabs.length(); i++){  json_1_all = new string **[]**[foods.length()]; } 

please precision bold []

thank you


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -