Yes, but get rid of the = in the for loop. It's less than 10.
Also, after that...tell it
vec.add(temp);
inside the for loop and that should do it.
Type: Posts; User: javapenguin
Yes, but get rid of the = in the for loop. It's less than 10.
Also, after that...tell it
vec.add(temp);
inside the for loop and that should do it.
Scanner (Java Platform SE 6)
Vector (Java Platform SE 6)
No, a Vector is a generic type of thing.
Vector<Object> v = new Vector<Object>();
Vector<Integer> v2 = new Vector<Integer>();
A...