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
What is formatted output?
What comes to mind when someone mentions a shallow copy in java?
Explain the difference between abstraction and encapsulation.
What is meant by structural programming?
What happens when a thread cannot acquire a lock on an object in java programming?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What is the private method modifier?
Give a brief description of java socket programming?
Can a class have an interface?
If you do not want your class to be inherited by any other class. What would you do?
Explain OOPs concept.
What does split function do in java?
What is the difference between final, finally and finalize() in java?
What are the methods used to implement for the key object in the hash map?
Why string is a class?