Hello Guys.
I want to know how do we initialize the String array in java, when we do not know what will be the size of the array.
like i want to store the following strings in the string array:
------------
102dwd d fdw f fwf
324 sdf sf sf sf s f
dfe4 34 4 r32
-------------------
i am taking these lines from the txt file, and I do not know the size of the array.
I have used: String Arr[];
but the compiler says that i have to initialize the array, but i do not know the size.


Any sort of information will be appreciated.
Regards
Harbir