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
What should I import for arraylist in java?
Explain the features of java?
What is the difference between the font and fontmetrics classes in java programming?
What is string syntax?
For class CFoo { }; what default methods will the compiler generate for you>?
How can we create objects if we make the constructor private ?
What is the length of a string?
What is a dynamic array in java?
How to optimize the javac output?
What is the collections api in java programming?
What is default locale java?
Why should we use singleton pattern instead of static class?
How to access arraylist elements in java?
Explain what do you mean by functional overloading in java?
What are the types of web technologies?