what is the difference between ArrayList and Vector
Answer Posted / harmeet
Arraylist is not synchronized where as Vector is
synchronized.
No default size for Arraylist where as Vector is having a
default size of 10.
| Is This Answer Correct ? | 58 Yes | 19 No |
Post New Answer View All Answers
What is the purpose of the return statement?
What is parsing in java?
Why put method is idempotent?
What is the range of the short type?
How do you add an element to an arraylist in java?
What are the limitations of procedural programming approach?
Why enumeration is faster than iterator?
What are namespaces in java?
Can we sort set in java?
What is default locale java?
Explain jvm, jre, and jdk?
Is it necessary that each try block must be followed by a catch block?
What is space character in java?
How is hashset defined in java?
What is meant by data hiding in java?