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
Explain restrictions for using anonymous inner classes?
Explain the difference between transient and volatile in java?
what is the purpose of the runtime class?
What is the reason behind using constructors and destructors?
What is the ==?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
What is the purpose of default constructor?
What about features of local inner class?
Explain different ways of creating a thread?
Is java pass by value or pass by reference?
Difference between Preemptive scheduling vs. Time slicing?
What is the difference between a loader and a compiler?
what is anonymous class in java?
What is unicode with example?
Can private class be inherited in java?