what is the difference between ArrayList and Vector
Answer Posted / harmeet
Arraylist is not synchronized where as Vector is
synchronized.
No default size for Arraylist where as Vector is having a
default size of 10.
| Is This Answer Correct ? | 58 Yes | 19 No |
Post New Answer View All Answers
How do you reverse sort in java?
What is main difference between variable and constant?
What is ternary operator? Give an example.
Can a class have multiple subclasses?
How many bytes is a string java?
When should you use arraylist and when should you use linkedlist?
What are the types of exceptions?
Can private class be extended java?
What is a get method?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?
Can you sort a string in java?
What is local class in java?
How does multithreading take place on a computer with a single cpu in java programming?
What are synchronized blocks in java?
What is nested interface?