what is the difference between ArrayList and Vector
Answer Posted / mohammed salim
1. Arraylist is not synchronized while vector is.
2. Arraylist has no default size while vector has a default
size of 10.
| Is This Answer Correct ? | 89 Yes | 20 No |
Post New Answer View All Answers
What is a java string?
What do you mean by scope of variable?
What is functional interface in javatpoint?
Can we have try block without catch block?
what are abstract functions?
What are nested classes in java?
What purpose do the keywords final, finally, and finalize fulfill?
Can you sort a list in java?
Differentiate between == and equals().
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What does int [] mean in java?
Is .net better than java?
How do listeners work?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What is the default value of local and global variables?