what is the difference between ArrayList and Vector
Answer Posted / kishore kumar naidu n
ArrayList Vector
1>. NOT synchronized 1>.Synchronized by Default
2>. Use only Iterator to 2>.Can use Iterator and Enumerator
access elements interface to access elements
3>. It increase it's size 3>.Default it double it's size
by 50% if it run out
off room
4>. No default size 4>.Default size is 10.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is array serializable java?
What does exp mean in math?
How are variables stored in memory?
Explain 5 features introduced in jdk 1.7?
How do you write methodology?
What is equals method in java?
What kind of variables a class can consist of?
Define how objects are stored in java?
Explain an algorithm to find depth of a binary tree.
What is immutable state?
How does split work in java?
What are green threads in java?
What is locale in java?
Difference between static binding and dynamic binding?
What is square root in java?