what is the diff b/w arraylist and vector?
Answer Posted / shweta dhankani
Above answer is wrong..
Infact it is opposite..
Vector methods are synchronized and are thread safe.
Whereas Arraylist methods are not synchronized and thread safe.
| Is This Answer Correct ? | 30 Yes | 0 No |
Post New Answer View All Answers
What is == and === in javascript?
Why lambda expression is used in java?
How does hashset works in java?
What is the main use of generics in java?
What will be the default values of all the elements of an array defined as an instance variable?
What are the main differences between notify and notifyAll in Java?
What is the difference between array list and vector in java?
What is array size in java?
How can constructor chaining be done using this keyword?
Explain the protected field modifier?
Is nullpointerexception checked or unchecked?
What is an object in java?
Is java hard to learn?
What are the different data types in java?
What is the best definition for data?