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 is java console application?

556


What is the difference between access specifiers and access modifiers in java?

568


What is the range of a character variable?

541


What is string manipulation?

489


Is set thread safe java?

499






How to convert string to char and vice versa?

513


When is the garbage collection used in Java?

654


How does a for loop work java?

538


If I only change the return type, does the method become overloaded?

535


How can you set the applet size?

571


What all access modifiers are allowed for top class ?

711


What is meant by null and void?

534


What is the ==?

461


What is a methodologist?

528


List types of storage classes in java?

615