what is difference between vector and arraylist?.

Answer Posted / guest

vector is synchronized . collection object and variable
slow acess. muntable
array list is never snchronized. collection variable fast
acess

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of hashcode in java ?

824


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

755


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

821


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

807


What are the different types of ways where you can iterate over a list? : java collections

771


What is iterator in the java collections framework? : java collections

761


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

826


What are the different types of features of the java collections framework? : java collections

827


can u draw class/object diagram for ATM

5773


please mail me the interview question based on java/j2ee

1735


How is hashset maintained in memory by java ?

855


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

800


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

1824


How do I find jre path in windows?

755


Which interface does java.util.hashtable implement?

929