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 is the use of hashcode in java ?
can u draw class/object diagram for ATM
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
How do I find jre path in windows?
What are the different types of classes implemented in the set interfaces? : java collections
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 are the queues in the java collection framework? : java collections
What is the difference between comparable and comparator in java.util pkg?
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What do you understand by synchronization? Why is it important?
Which interface does java.util.hashtable implement?
What are the types of java collections? : java collections
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.?.
What are the interfaces in java collections? : java collections
Which sorting algorithm is used by collections.sort() in java ?