Difference between Array and vector?

Answer Posted / aqueenni(xie)

vector is syncronised.... whereas array is not
vector grows double in size.... an arraylist grows 50% ....

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use arraylist in java netbeans?

735


What method is used to specify a container's layout in java programming?

787


Differece between class and generic class?

785


Is there any tag in htm to upload and download files?

825


How are variables stored in memory?

805


What is ctrl m character?

741


What is meant by interface?

784


Is java a super set of javascript?

827


describe method overloading

713


What is the structure of java?

752


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1087


How objects are stored in java?

757


Why are arrays useful in java?

776


What is a bufferedreader?

740


What is indexof?

732