Differentiate Vector and ArrayList?
Answer Posted / pallavi thakare
a)Vector is a synchronized, where as an ArrayList is not
synchronized.
b)arraylist is not leggacy,it introduce JDK 1.7,where vector is leggacy.
c)arraylist uses iterator,where vector used enumration.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is math in java?
What are the 3 types of loops in java?
What is the static import?
What are the main differences between notify and notifyAll in Java?
Can final class have constructor?
What is increment in java?
What are the basic interfaces of java collections framework?
Can extern variables be initialized?
What is a map? What are the implementations of map?
What happens if we override only equals?
how to create constants in java?
How do you include a string in java?
What are the 4 versions of java?
How many bytes is 255 characters?
What is the best definition for data?