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
In java, how many ways you can take input from the console?
How do you reverse a string in java without using string buffer?
What are the different types of inner classes?
How do you remove an object from an arraylist in java?
In the below example, what will be the output?
What are the differences between abstract class and interface?
Can a serialized object be transferred via network?
What is a singleton class in Java?
How do you create a first line indent?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What does super keyword do?
What is the use of put method?
What is treeset in java collection?
How to sort double array in java?
how to create constants in java?