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
How many types of threads are there in java?
Tell me the Importent classes in net package?
What is stack class in java?
Is array an object in java?
Can we use different return types for methods when overridden?
What is the difference between stringbuffer and stringbuilder?
Can an arraylist be empty?
How to perform bubble sort in java?
What is the difference between final, finally and finalize() in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Can It is possible to synchronize the constructor of a Java Class?
What is difference between identifier and variable?
What is the difference between yielding and sleeping in java programming?
What is numeric function?
What's the base class of all exception classes?