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
Tell me the latest versions in java related areas?
What is the longest unicode character?
What are selection structures?
What is difference between jdk,jre and jvm?
What are the main uses of the super keyword?
List implementations of list interface?
What does replaceall do in java?
What is meant by stack and queue?
What is an example of a constant variable?
What is array pointers ?
Can we create a constructor in abstract class?
What is the finalize method do?
which pattern is default in scanner package?
What is the difference between the prefix and postfix forms of the ++ operator?
What are the default and parameterized constructors?