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
When would you use a static class?
Can we execute a program without main?
What is the function of java?
How many bytes is a string in java?
What does regex mean?
Is java ee a framework?
Can we declare an array without size in java?
Can we sort hashset in java?
How many bits are in a sentence?
What is the final method?
Explain the use of sublass in a java program?
What is cr keyboard?
Tell me the latest versions in java related areas?
Explain heap sort?
What is the similarity between dynamic binding and linking?