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
What is JFC?
Can you pass by reference in java?
What is the static method?
What is a loop java?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What is unicode used for?
Can I declare class as static or private?
Is a method a function?
Difference between arraylist and hashset in java?
What are the steps involved to write rmi based programs?
What is the longest unicode character?
What is increment in java?
Can java inner class be static?
what is the significance of listiterator in java?
How do you compare arrays in java?