Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the Difference between "vector" and "array"?

Answer Posted / kabitirtha koley

The basic difference between those two are:
1.Vector and Arraylist are grownable or shinkable where are
array is not.
2.Vector and Arraylist are implemented from List interface
where as array is a primitive data type
3.Vector is Synchrnized where as arraylist is not
4.For best performance better to use arraylist than vector

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of prototyping?

1065


Which of the following is evaluated first: a) && b) || c) !

2369


Is atoi safe?

1053


Describe new operator and delete operator?

1085


Which programming language should I learn first?

1096


What is #include cmath?

1097


What is dynamic and static typing?

1189


Explain "const" reference arguments in function?

1054


Write about the local class and mention its use?

1078


What is a rooted hierarchy?

1164


What is the c++ programming language used for?

1046


What is a stack? How it can be implemented?

1169


What is the basic structure of c++ program?

1100


When should you use global variables?

1215


What are the uses of static class data?

1187