how can I declare the name of a vector instance dynamically?
I am passing an array of Strings to a function, each element of the String array needs to create a vector.
for(int i; i < array.size(); i++){
//Vector array.toString() = new Vector;
Vector ???? = new Vector();
}
I am looking for the correct syntax. I know mine is not correct.
thanks in advance,
Bygs
I am passing an array of Strings to a function, each element of the String array needs to create a vector.
for(int i; i < array.size(); i++){
//Vector array.toString() = new Vector;
Vector ???? = new Vector();
}
I am looking for the correct syntax. I know mine is not correct.
thanks in advance,
Bygs