Differentiate Vector and ArrayList?
Answer Posted / chinmay
vector is a legacy class but ArrayList is a collection class
vector is synchronized where as ArrayList is not
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we use a switch statement with strings?
What does yield method of the thread class do?
Can you extend main method in java?
What is parsing a string?
What is string data type?
What are the two environment variables that must be set in order to run any java programs?
What is the size of string?
What is map and hashmap in java?
What classes of exceptions may be thrown by a throw statement?
Does java linked list allow duplicates?
Why can we not override static method?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
How do you sort in descending order in java using collections sort?
What are memory tables?
What is java util?