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 difference between vector and arraylist?.

Answer Posted / arjun kumar

If we want to arrange a collection of objects into an other object then we will use either ArrayList or Vector. When we use these classes all the objects that are placed in it will be stored sequentially one after the other.

ArrayList : If we want to store same type of objects then we will use ArrayList class.

Vector : If we want to store different type of objects then we will use Vector class.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are maps interfaces in the java collections? : java collections

995


What is the Spring2.5 MVC Navigation flow?

6295


my interviewer asked me what technical specification you used how to answer that question

2322


Should we create system software ( e.g operating system ) in java ?

987


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

2006


please mail me the interview question based on java/j2ee

1899


What are the considerations to be made in case of loops in java ?

983


What are the classes in the java collection framework? : java collections

986


What is deque in the java collections framework? : java collections

1016


What are the types of interface used in the java collections? : java collections

996


How do I find jre path in windows?

963


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

995


What is the use of the list interface in the java collection? : java collections

977


Which sorting algorithm is used by collections.sort() in java ?

874


Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.

2000