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 the types of java collections? : java collections

996


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

878


please mail me the interview question based on java/j2ee

1903


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

984


can u draw class/object diagram for ATM

6016


Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance

2298


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

999


what is mean by hasing and maping in java platform and advantage?

2324


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

1006


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

1007


What do you understand by synchronization? Why is it important?

1004


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

992


What are the different types of classes implemented in the set interfaces? : java collections

1017


What is the Spring2.5 MVC Navigation flow?

6315


who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.

2285