Differentiate Vector and ArrayList?

Answer Posted / pranab dutta

Vector is synchronized
Arraylist is not synchronized.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between integer parseint and integer valueof?

559


Give some features of interface?

590


What is Mutex (Mutual Exclusion Object) ?

633


I want to print “hello” even before main is executed. How will you acheive that?

668


Are arrays primitive data types?

655






What is core java called?

534


What languages are pass by reference?

552


Difference between static and dynamic class loading.

602


What is the difference between throw and throws in java?

563


Explain about object oriented programming and its features?

609


What is a java string?

549


How do you test a method for an exception using junit?

541


Mention a package that is used for linked list class in java.

535


What is an interface in java?

569


a thread is runnable, how does that work? : Java thread

519