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 | 5 No |
Post New Answer View All Answers
What is the purpose of a parameter?
What are keywords in java?
Explain hashset and its features?
Explain yield() method in thread class ?
Explain the difference between an Interface and an Abstract class?
What is the base class for error and exception?
Can a class declared as private be accessed outside it’s package?
What is the purpose of static keyword in java?
What is equlas() and hashcode() contract in java? Where does it used?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What is ide with example?
How to store image in arraylist in java?
What is the association?
what is the purpose of "virtual"?
Can we override compareto method?