Help for accessing elements in a vector
This is a simple question i guess. But i am stuck with it. I dont know where i am making a mistake.
I have a vector and i want to access the elements of the vector.
Vectoe vRoles = new Vector();
// the following are the values in my vector
vRoles = w; //
vRoles = z;
vRoles = y;
vRoles = x;
i want to access the elements in order [w,x,y,z]. How can i do that ?
Please can anybody help me out with this.
Thanks in Advance.