what is the diff b/w arraylist and vector?
Answer Posted / aravind
1. Arraylist is not synchronized while vector is.
2. Arraylist has no default size while vector has a
default size of 10.
3. Arraylist don't define any increment size while vector
does.
4. Arraylist can be seen directly without any iterator
while vector requires an iterator to display all it's
content. (not very sure).
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What are desktop procedures?
Tell me about different OOPS concepts.
What is the unit of plancks constant?
What are different types of inner classes ?
What is getclass () getname () in java?
Define class?
What do you mean by ternary operator in java?
What is class??
What is string and its types?
What is threaded programming and when is it used? : Java thread
Is a char always 1 byte?
Can an interface have a class?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Why there are some null interface in java? What does it mean?
What is integer parseint?