Differentiate Vector and ArrayList?
Answer Posted / anitha
a)Vector is a synchronized, where as an ArrayList is not
synchronized.
b)when size is going to exceed, the ArrayList size is
double of it's size, where as Vector size is increase half
of its size.
except these two both r roughlt equal.
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
java Technical questions asked by JPMC
What is the file extension for java?
How do you make an arraylist empty in java?
what are different ways in which a thread can enter the waiting state? : Java thread
What is += mean in java?
What is callable java?
What is arraylist class in java?
Is Constructor possible in abstract class in java ?
What is super in java?
What is the difference between a switch statement and an if statement?
What is the abstract class?
What are the types of exceptions?
What is an object's lock and which object's have locks in java programming?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?