vector.add();
I tried to add an int variable to a vector:
{
int i = (int)tokenizer.nval;
Vector v = new Vector();
v.add(i);
}
Alas! The compiler error says "cannot resolve symbol", but similar String variable compiles well.
Who knows what the problem is.
Thanks.
nbc
|