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...

Difference between Array and vector?

Answer Posted / mandip

Ans 1: vector can store hetrogeneous data element,where
as array can stote homogeneous data element.

Ans 2: vector are store non-primitive type data element,
where as array can store primitive type data element.

Ans 3: wrapper classes are used in vector,where as in array
wrapper classes are not used.

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the return type of the main method?

1044


What is scope & storage allocation of global and extern variables? Explain with an example

1045


How to declare objects of a class ?

1080


What does flag mean in java?

1025


Can we override private method in java?

1090


What is variable and rules of variable?

1024


Explain about main() method in java ?

1078


What is java jit compilers?

1016


What is primitive array?

904


Can we sort hashmap in java?

964


What is bom encoding?

1002


Can a variable be local and static at the same time?

1006


How do generics work?

951


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

1072


What is the base class of all exception classes?

1070