hi i am new to java.After so research about what i am facing, i try post to ask some question.
recently i am doing a text analyse software. and i try to get done with a 1*3 dimensional array. something like
[0]
[][][]
[1]
[][][]
[2]
[][][]
[3]
[][][]
the three column in the second dimension of each is use for saving the details of the first dimension. but the second dimension array size is yet unknown which mean that, idont know how many i will find from the text that i am gonna search.it will increase once the target found. is this the stupid way for doing this. i know java can declare array like int [][] abc = new [5][]. but it just can declare only for one unknown dimension. then i try to do something like this
String [] abc = new string [4]
then i first make a presumption that the size is that in the first column in the second dimension.
abc[0] = String [10][][] inside1;
abc[1] = String [10][][] inside2;
abc[2] = String [10][][] inside3;
abc[3] = String [10][][] inside4;
but still getting error when i compile it.
how can i do the declaration or there got better to done this easy. if i miss any post in the internet about this. please show me any keyword or link for me to take a look.