what is the diff b/w arraylist and vector?
Answer Posted / rajesh_mari24
arraylist methods are synchronized.so all methods are thread
safe.performance is very low.it introduced in 1.2 ver
vector methods are non synchronized.so all methods are not
thread safe.performance is high.it introduced in 1.0 ver
| Is This Answer Correct ? | 5 Yes | 37 No |
Post New Answer View All Answers
Program to Find the second largest element in an array.
What is the super void?
Can we execute a program without main?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What is flush buffer?
Explain tree set and its features?
What are the java ide’s?
What sorting algorithm does javascript use?
What is the purpose of garbage collection in java?
What are the super most classes for all the streams?
What is identifier with example?
Give reasons supporting that string is immutable.
Describe how to implement singleton design pattern in struts.
How do you reverse a string in java without using string buffer?
What are the benefits of operations in java?