Difference between Array and vector?

Answer Posted / janet

Array is a set of related data type and static where as
vector is a growable array of objects and dynamic.

Is This Answer Correct ?    70 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of shift operator in java. Can you give some examples?

533


What is args length in java?

651


What is string array?

568


What is passing value java?

506


What is final modifier?

556






What about abstract classes in java?

603


What are the main uses of java?

517


How to perform quicksort in java?

558


Does garbage collection occur in permanent generation space in jvm?

598


What is the structure of java?

501


a thread is runnable, how does that work? : Java thread

502


How do you read and print a string in java?

517


In java how do we copy objects?

546


Does .length start 0 java?

558


Where is const variable stored?

527