diff vector arraylist

Answer Posted / chandra

1) Arraylist is not synchronised while vector is
synchronised.

2) ArrayList doesn’t have a constructor for specifying the
incremental capacity, where as Vector has a constructor to
specify the initial capacity and incremental capacity.

3) Vector is serialized but arraylist is not.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a java object message delivered to a non-java client?

571


what is Activation Instantinator?

1903


Do I need to import javlang package any time? Why ?

620


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1736


What are the different algorithms used for clustering?

545






what are the activation groupworks?

1671


Name three component subclasses that support painting?

610


What if the static modifier is removed from the signature of the main method?

700


Can I have an action without a form?

588


Define prototype?

579


Explain phantom read?

1733


What is metaspace?

543


What are transaction attributes?

610


Why are my checkboxes not being set from on to off?

636


What is an abstract method?

588