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 is java in detail?

553


What are assembly attributes?

539


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

589


Can we write a class without main method in java?

478


Why java is a platform independent? Explain

527






What are the advantages of defining packages in java?

502


What is difference between array and vector?

524


How large is a boolean?

549


How do you implement polymorphism in our day to day life?

2756


What is the impact of declaring a method as final?

556


What is r * in math?

546


What are constructors in java?

561


What is the maximum size of hashmap in java?

525


What is the byte order of byte buffer?

557


What is the generic function?

520