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

Explain the meaning of java applet.

600


How does a for loop work java?

538


How many bytes are a float?

501


What is the relationship difference the canvas class and the graphics class?

560


What are the six ways to use this keyword?

604






Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

542


What is unmodifiable collection in java?

505


What are some alternatives to inheritance?

551


Can we override constructor?

534


What do you mean by stack?

637


Why vector class is used?

536


Can variables be used in java without initialization?

548


Explain java thread life cycle.

578


Explain java coding standards for constants?

571


How does arraylist size increase in java?

529