Hi, Consider String s,this is twodimesional array s="vijay" we can store element(by using two for loops,we can store strings with out that also we can ).Like that it is possible to store elements in vector how i can break numbering. I will give one example. Vector v =new Vector(); v.add("");here indexing we can't break just like Arrys. My idea is in two dimesinal array 20 rows are there,and columns 11 ,if you go on adding in vector,it won't break numbering just like array.How it possible. Bye, vijay
Obviously Vector cannot be equivalent to a twodimensional array. There you have the concept of capacity.As it is being said 20 rows and 11 columns in an array for example, then all the 220 elements have to be added to the vector. And there for retrieving you have to retrieve like say v[i].