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 / srinu

vector:-
1)Vector is a synchronized.
2)These are Thread safe.
3)performance slow
4)it implements
serializible,list,collection,iterable,Randomaccess,clonable
interfaces.
5)vector is optimum storage management.

Arraylist:-
1)ArrayList is not synchronized.
2)these are not safe.
3)performance is high.
4)it implements
serializible,list,collection,iterable,Randomaccess,clonable
interfaces.
5)ArrayList is not a optimum storage management

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

995


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

996


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1999


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

983


What is the Spring2.5 MVC Navigation flow?

6293


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

2006


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

1008


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.

1999


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

995


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

2275


What is an algorithm in java collection framework? : java collections

1006


please mail me the interview question based on java/j2ee

1899


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

2322


What are the differences between the java collection and the java list? : java collections

1049


What are the types of java collections? : java collections

986