Difference between Array and vector?

Answer Posted / monika

array is a collection of similar data tpyes of elements.
vector is the most widely used container.it stores elements
in contiguous memory locations.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the escape sequences in java?

790


What are thread groups?

785


What is are packages?

809


What was java originally called?

741


What is the benefit of inner / nested classes ?

753


What is nextint java?

779


What are the steps involved to write rmi based programs?

809


What is variable explain with example?

818


what are the high-level thread states? : Java thread

800


What does the string method compareto () do?

800


Is class is a data type?

837


What is parsing a string?

879


State differences between C and Java?

916


What is the difference between exception and error in java?

750


Why charat is used in java?

853