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 a flag and how does it work?

735


How many types of the indexof method are there for strings?

724


What is an arraylist in java?

716


What is the difference between variable & constant?

767


What class allows you to read objects directly from a stream?

1111


What is substring in java?

823


What are java packages? What is the significance of packages?

777


Explain where variables are created in memory?

768


What is instance example?

721


How to run a JAR file through command prompt?

951


What is return code?

767


Realized?

1909


Can we have more than one package statement in the source file?

861


What is java util?

794


Which is better arraylist or vector?

792