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

How does multithreading take place on a computer with a single cpu in java programming?

520


What is a constructor overloading in java?

511


What is executor memory?

506


Mention the default values of all the elements of an array defined as an instance variable.

508


Can we nested try statements in java?

617






What is the same as procedures?

525


Is there a way to increase the size of an array after its declaration?

592


What is static import?

587


What is an immutable object?

573


Which sorting algorithm is best in java?

526


What is the meaning of variables in research?

522


What do you mean by formatting?

536


How much ram can a 64 bit processor theoretically?

455


How many types of methods are there in java?

518


What is parsing and its types?

576