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
Can a static member function access member variable of an object?
How do I get 64 bit java?
What is linked hashmap and its features?
How many types of the indexof method are there for strings?
What sorting algorithm does javascript use?
When throws keyword is used?
Is java util regex pattern thread safe?
What do you understand by soft reference?
Explain JMS in detail.
What is meant by overloading?
What does indexof mean?
Can inner class final?
What is the use of parseint in java?
What is the purpose of object oriented programming?
Is java still relevant?