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 are different types of expressions?
What is meant by JVM? Is JVM platform independent or not?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
Is an empty arraylist null?
how to one war file class to another war file class?
What are heterogeneous objects?
Can a vector contain heterogenous objects?
Can we split string with in java?
Can you inherit a constructor java?
List the interfaces which extends collection interface?
What is class and its types?
How do I find and replace in word?
Is array serializable java?
Give the hierarchy of inputstream and outputstream classes.
What is package private scope in java?