what is the difference between ArrayList and Vector

Answer Posted / mohammed salim

1. Arraylist is not synchronized while vector is.
2. Arraylist has no default size while vector has a default
size of 10.

Is This Answer Correct ?    89 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the functionality of the stub?

581


Can we execute a program without main?

548


What is the do while loop syntax?

561


What are wrapped classes in java programming?

595


What is javac_g?

598






What is a lock or purpose of locks in java?

601


What are strings in physics?

554


Write a java program to generate fibonacci series ?

582


Differentiate between nested and inner class in java.

563


What is volatile data type?

555


What do you mean by collectors in java 8?

549


How many unicode characters are there?

572


Is integer passed by reference in java?

578


What is the flag in java?

617


What is static class

626