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 are predicates in java 8?
Give few examples of final classes defined in Java API?
What is a file pointer?
What is an immutable class? How to create an immutable class?
What is string args [] in java?
What is the difference between comparison done by equals method and == operator?
What is parsing and its types?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
How can constructor chaining be done by using the super keyword?
What is maximum size of arraylist in java?
What are the advantages of user defined functions?
Explain the importance of import keyword in java?
Does string is thread-safe in java?
What happens when you add a double value to a string?
What are conditionals and its types?