Differentiate Vector and ArrayList?

Answer Posted / chinmay

vector is a legacy class but ArrayList is a collection class
vector is synchronized where as ArrayList is not

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if we override private method?

766


What is assembly language?

746


What are the changes in java.io in java 8 ?

777


What is static block?

816


What is the difference between normal report & matrix report?

865


What are peerless components?

855


What is the association?

778


How to create com object in Java?

859


What are selection structures?

758


What best practices should you follow while writing multithreaded code in java?

795


Can we extend a class with private constructor?

736


What is the use of isempty in java?

786


How many types of parsers are there?

805


What is regex in java?

725


Which data type is class in java?

787