Difference between Array and vector?

Answer Posted / aishwarya

Array is static memory allocation.
& vector is dynamic memory allocation

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does || || mean in math?

513


Differentiate between class and structure.

627


How will you load a specific locale?

536


What type of value does sizeof return?

534


Why is stringbuffer not immutable?

563






What are the different ways of implementing thread? Which one is more advantageous?

536


What are 3 boolean operators?

529


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7416


What is literal example?

560


What is time complexity algorithm?

547


What is void in java?

587


What is a protected void?

502


What are inbuilt functions?

566


Can inner class final?

631


What is the difference between a window and a frame in java programming?

588