what is difference between vector and arraylist?.
Answer Posted / srinivas
Vector is synchronized and compare to array list this slow
access, by defaulst the vector is 10,this is legacy class
Where as arraylist is unsynchronized and fast random
access,in arraylist there is no default size automatically
it is growable once the object is created it will be
allocated,this is advanced class.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What are the different types of classes implemented in the set interfaces? : java collections
please mail me the interview question based on java/j2ee
What are the different types of features of the java collections framework? : java collections
How do I find jre path in windows?
What are the types of the main implementing classes in the map interfaces? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
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.
what is mean by hasing and maping in java platform and advantage?
What are the considerations to be made in case of loops in java ?
What are the main classes of the list interfaces? : java collections
Which sorting algorithm is used by collections.sort() in java ?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What are the types of interface used in the java collections? : java collections
can u draw class/object diagram for ATM
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