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
What is a generic type?
What is stringreader?
which class is the wait() method defined in? : Java thread
What is the purpose of using break in each case of switch statement?
Is java good for beginners?
How to sort numbers in java without array?
How do you get the length of a string in java?
Why java does not support pointers?
What is static keyword?
How do you override a variable in java?
What are the advantages of defining packages in java?
What does || || mean in math?
Write a program to reverse a number in java?
What are different types of encoding?
Explain 5 io best practices?