what is the difference between ArrayList and Vector

Answer Posted / ganesh nagalingam

I am adding some more points to the above answers.

Array list and Vector have one in common. They both
implement Random Access.
It is possible to provide synchronization using Array List
by using the utility methods in Collection.

Is This Answer Correct ?    12 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do generics work?

714


How many classes can any class inherit java?

722


What is a finally block? Is there a case when finally will not execute?

752


What is the purpose of a volatile variable?

753


What is flush () in java?

769


What are keyboard events?

839


What are the difference between string, string builder, and string buffer in java?

843


Why are pointers not secure?

779


Can a main method be declared final?

797


What does substring mean?

706


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

2203


What does nextint () do in java?

755


What is argument in java?

764


What is difference between final and finally in java?

815


Is java developer a good career?

774