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 is the format specifier?
What is the largest long allowed by java?
What does compareto () do in java?
What occurs when an object is constructed?
What is a hashmap used for?
Are primitives objects?
Is map ordered in java?
What is java and why do we need it? Explain
Why java strings are immutable in nature?
Are arrays immutable in java?
How can you traverse a linked list in java?
what is singleton class in java?
'A class is a template for an object' explain this statement.
List the features of java programming language.
Why do you canvas?