what is the diff b/w arraylist and vector?
Answer Posted / rajesh_mari24
arraylist methods are synchronized.so all methods are thread
safe.performance is very low.it introduced in 1.2 ver
vector methods are non synchronized.so all methods are not
thread safe.performance is high.it introduced in 1.0 ver
| Is This Answer Correct ? | 5 Yes | 37 No |
Post New Answer View All Answers
Does the order of public and static declaration matter in main method?
What does jenkins do?
What happens if main method is not static?
What are variable arguments or varargs?
How do I enable java in safari?
Can you instantiate the math class?
How can we use primitive data types as objects?
Can we override constructor in java?
Which method must be implemented by all threads?
Which is the best sorting technique in java?
What is dynamic binding(late binding)?
Is break statement can be used as labels in java?
Can we nested try statements in java?
what is deadlock? : Java thread
What is a nested class?