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 difference between public static and void?

480


Why are the methods of the math class static?

574


Explain what do you mean by functional overloading in java?

553


What are serialization and deserialization?

719


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

535






If you are given the name of the function at run time how will you invoke the function?

676


What is queue in java?

552


how to write a server program and sending the mails to the server using smtp protocol please help me

1546


What is difference between pointer and reference?

502


Is array dynamic in java?

477


How to sort a collection of custom Objects in Java?

594


What is data member in java?

499


What is string and its types?

606


What are the 8 primitive data types in java?

545


Why are data types important?

531