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


Please Help Members By Posting Answers For Below Questions

Does substring create a new object?

526


what state does a thread enter when it terminates its processing? : Java thread

597


How many static init can you have?

680


Can we instantiate interface in java?

671


Can arraylist hold different types java?

482






What is an example of a conditional statement?

564


What is a void in java?

580


What do you understand by synchronization?

589


Which is bigger double or float?

528


What was java originally called?

507


What is the difference between static method and instance method in Java?

566


Does constructor be static?

562


What is meant by overloading?

586


What is private static in java?

577


What is the use of accept () method in java?

606