Difference between Array and vector?

Answer Posted / ravikiran(aptech mumbai)

Array is not growable where as vector is growable
array can hold similar type of datatype elements...where as
vector holds different datatyped objects

Is This Answer Correct ?    41 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override private methods?

542


What is a generic type?

558


Can we start a thread twice in java?

508


Can we split string with in java?

528


Why convert an applet to an application?

614






What is the difference between the font and fontmetrics classes in java programming?

496


Describe different states of a thread.

575


What is a parameter example?

522


What is use of a abstract variable?

534


What is data string?

494


What are use cases?

558


Can a class be private in java?

539


What is file in java?

558


What is the synonym of string?

531


What is a file pointer?

512