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

Explain the overview of UDP messaging.

725


What kind of variables a class can consist of?

628


What does you mean in math?

533


What's the difference between comparison done by equals method and == operator?

536


what is the difference between process and thread? : Java thread

557






Explain about procedural programming language or structured programming language and its features?

542


Why we override equals() method?

559


What is variable and rules of variable?

508


Explain polymorphism citing an example.

584


How many types of memory areas are allocated by JVM in java?

582


What is the console in java?

672


Which sorting is best in java?

526


What is not object oriented programming?

501


What do you understand by overloading and overriding in java?

535


Name few "optional" classes introduced with java 8 ?

639