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

Can we change the value of static variable?

512


What is the difference between stream and buffer?

527


What is thread pool? How can we create thread pool in java?

640


Can there be an abstract method without an abstract class?

551


What does it mean that a class or member is final?

570






What is the definition of tree ?

601


What is ternary operator in java?

615


Why is java so important?

665


Is string an object?

683


What are the ways in which a thread can enter the waiting state?

524


What is java in layman terms?

544


What are loops in java?

561


What is * argv?

724


What is the difference between overriding & overloading?

578


What is an exception? difference between Checked and Unchecked exception in Java

570