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 rmi and steps involved in developing an rmi object?
What are the advantages of inner classes?
What is skeleton and stub?
Does java map allow duplicates?
How many bits is a float?
Why to use nested classes in java?
how we can create packages in java?
What is meant by null and void?
What is the difference between length and length () in java?
What is the exact difference in between Unicast and Multicast object?
How to create com object in Java?
What is lazy initialization in java?
What are the advantages and disadvantages of reference counting in garbage collection?
What is the use of arraylist class in java?
How does finally block differ from finalize() method?