what is the difference between ArrayList and Vector
Answer Posted / devarathnam
Hi...
ArrayList is not synchronized(not Thread-safe)but Vector is
Synchronized(Thread-safe)
ArrayList gives u better performance than Vector
Is This Answer Correct ? | 28 Yes | 3 No |
Post New Answer View All Answers
What is the abstract class?
What is the properties class in java programming?
What is java in detail?
What is mnemonic in assembly language?
How do you clear a list in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What are the advantages and disadvantages of reference counting in garbage collection?
Can we catch more than one exception in a single catch block?
Why are global variables used?
what is the difference between yielding and sleeping? : Java thread
What is string pooling concept?
When do we use hashset over treeset?
Explain a situation where finally block will not be executed?
What is method overloading in JAVA? Why is it not present in C ?
How many tetrahedral voids are there in bcc?