what is the difference between ArrayList and Vector

Answer Posted / mallikarjuna

yes ArrayList is not syncronized on multiple threads and
not give correct result but Vector is syncronized 0n
multiple threads and it give correct result

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are global variables initialized to zero?

709


there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.

1775


What is the difference between JDBC 1.0 and JDBC 2.0?

2912


Can we use string in the switch case?

798


Does importing a package imports its sub-packages as well in java?

752


What are the benefits of operations in java?

689


what r advatages of websphere? & how to deploy?

1851


What do you mean by data type?

778


What is the flag in java?

796


How many bits is a float?

749


What is floor in java?

796


What do you understand by final value?

795


What do you understand by weak reference?

746


How is hashset defined in java?

731


Describe the various concepts related to object oriented programming (oop).

804