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 an example of a constant variable?
What is array and arraylist in java?
What is difference overloading and overriding?
What are advantages and disadvantages of OOPs?
How do you define a parameter?
What is empty string literal in java?
What does substring mean?
What is http client in java?
Print Vertical traversal of a Binary Tree.
Is main a function?
What is lifetime variable?
What does indexof mean?
Define reflection.
how can i use a nonsynchronized hashtable?
Define an abstract class with reference to java.