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 byte [] in java?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What methods are used in Servlet?Applet communication?
What are white spaces in java?
What does method mean?
What does compareto () do in java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
What super () does in java?
What are the application of stack?
Do I need java on my computer?
Are strings immutable in java?
what is method reference in java 8?
What is the final keyword denotes?
Why main method is static in java?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net