Differentiate Vector and ArrayList?

Answer Posted / v.kannan

Vector is synchronized where as
Arraylist is not synchronized.
In Array List there is no guarantee elements will be in
order(It will vary System to System)

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What steps are taken when the OS shifts from one-thread execution to another?

1148


What are the classes of java?

745


What is the purpose of lambda expressions?

814


what is anonymous class in java?

780


Does string isempty check for null?

788


What is try-with-resources in java?

869


Can we able to pass objects as an arguments in java?

801


How do I convert a string to an int in java?

810


I want to re-reach and use an object once it has been garbage collected. How it's possible?

789


List implementations of list interface?

810


What is the purpose of sizeof operator?

771


What is string in java is it a data type?

756


How can you traverse a linked list in java?

917


What is the ==?

690


What does string mean in java?

843