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 the difference between a vector & an array list?
What are the 3 types of loops in java?
Which sorting algorithm is best in java?
What are the parts of methodology?
What is the hashcode () and equals () used for?
What is nullpointerexception?
What is array list in java?
What are the main uses of java?
What is a hashmap used for?
Can a string be null?
Can a class have more than one object?
What is enhanced loop in java?
What is java english?
What is an example of character?
What is the lifetime and scope of a variable?