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
how to write a program for sending mails between client and server
Is void a return type?
What are the drawbacks of singleton class?
What is bitwise complement?
What is the significance of java packages?
What is the purpose of the finalize() method?
What is the right data type to represent a price in java?
How is it possible for two string objects with identical values not to be equal under the == operator?
Explain how to force the garbage collection in java.
What is internal variable?
What is initial size of arraylist in java?
What is singleton pattern?
5 Coding best practices you learned in java?
What are identifiers in java?
What is array size in java?