Mo, I dont know why I didnt think this way
although I used to assign strings many times as you have specified.
When we initialize a vector as :
Vector vector = new Vector();
size will be 10 intially.
but when we initialize size by Vector(0), then size is going to be incremented starting from 0 each time we add an element.
Problem is solved any way...
Thanks for all.
Regards,
MAC.