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
Which sorting algorithm is used by collections.sort() in java ?
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What are the types of the main implementing classes in the map interfaces? : java collections
What are the types of java collections? : java collections
What are the uses of the set interfaces in the java collections? : java collections
what is mean by hasing and maping in java platform and advantage?
What is java collection? : java collections
What are the different types of features of the java collections framework? : 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.?.
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are the queues in the java collection framework? : java collections
What are the interfaces in java collections? : java collections
What is the difference between comparable and comparator in java.util pkg?
What are the different types of collections views being provided by the map interface? : java collections