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
What is the generic function?
What is stack class in java?
Why do I need to declare the type of a variable in java?
What is object cloning in Java?
What is scope of a variable?
Can we pass a primitive type by reference in java? How
What is the difference between C++ and Java and your preferences?
What is a method signature java?
What is an empty string in css?
Explain how to convert any java object into byte array.
What is listnode in java?
How does predicate work in java?
What is the purpose of sizeof operator?
Why is logger singleton?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.