Differentiate Vector and ArrayList?
Answer Posted / v.kannan
Vector is synchronized where as
Arraylist is not synchronized.
In Array List there is no guarantee elements will be in
order(It will vary System to System)
Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Does chrome use java?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Is null an object java?
What is the difference between Java and C++?
Can we sort arraylist in java?
What is protected access modifier?
Can an object subclass another object?
What is the base class for error and exception?
Explain about arraylist?
When do we use hashset over treeset?
In the below example, how many string objects are created?
What does || mean in code?
What are different types of references?
What is jar?
What is the common usage of serialization?