what is the difference between ArrayList and Vector
Answer Posted / dara
ArrayList is non synchronized.Vector is
synchronized.ArrayList is very fast because non
synchronized.we can specify the increment size with the
vector and with arrayList we cannot
| Is This Answer Correct ? | 29 Yes | 2 No |
Post New Answer View All Answers
What are the actions that can occur when a thread enters blocked state?
Why do we declare a class static?
What are thread groups?
What is the difference between member variables initialization and assignment in a constructor?
Why do we use variables?
What is polymorphism and what are the types of it?
Can we extend immutable class?
Explain restrictions for using anonymous inner classes?
How to add menushortcut to menu item?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What are the changes in java.io in java 8 ?
Which graphs are functions?
explain different ways of using thread? : Java thread
Explain java code for recursive solution's base case?
What are the 7 types of characters?