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
Give any two differences between C++ and java.
What is the declaration statement?
How many bits is size_t?
Why main() method is public, static and void in java ?
What best practices should you follow while writing multithreaded code in java?
What is stringbuffer in java?
What is replacefirst in java?
What is difference between ++ I and I ++ in java?
What is local declaration?
Is hashset ordered?
What is r in java?
Can we clone singleton class in java?
What is an escape character in java?
extending thread class or implementing runnable interface. Which is better? : Java thread
What comes to mind when someone mentions a shallow copy in java?