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 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is identifier with example?

581


What is a Null object?

894


What is the use of string and stringbuffer?

558


What is bufferedreader in java?

584


Is set ordered in java?

576






What is the file type?

561


What are some alternatives to inheritance?

563


Which is bigger float or double java?

528


What is meant by anonymous class?

597


What does provide mean construction?

558


What is the disadvantage of java?

508


What are the restrictions imposed on method overriding?

558


How do you control extraneous variables?

510


Define max and min heap, also the search time of heap.

599


What happens to a static var that is defined within a method of a class?

552