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

When will we prefer to use set and list in java and why?

947


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

949


What is the difference between the boolean & operator and the && operator in java programming?

1021


Can I overload to string method

1426


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

1000


What is a return in java?

1022


Why call by value prevents parameter value change?

1056


How many arguments can be passed to main ()?

981


What is quick sort in java?

986


How will you add panel to a frame?

1092


What is e in java?

945


What is the use of optional ?

1019


Why is multithreading important?

926


What is connection class in java?

941


What is java command?

1061