Differentiate Vector and ArrayList?

Answer Posted / chinmay

vector is a legacy class but ArrayList is a collection class
vector is synchronized where as ArrayList is not

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between Java 1.0 and Java 2.0?

1670


What is size_t?

499


What super () does in java?

480


what is thread in Java ?

618


Explain constructors and types of constructors in java.

638






Explain wait(), notify() and notifyall() methods of object class ?

587


How does compareto method work?

522


What does += mean in java?

570


What are basic keywords?

553


What is prefix of a string?

565


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

502


What are the two parts of a conditional statement?

508


Tell me the Importent classes in net package?

1578


What are filterstreams?

603


What is meant by 'bit masking' in java?

642