what is the difference between ArrayList and Vector

Answer Posted / dara

ArrayList is non synchronized.Vector is
synchronized.ArrayList is very fast because non
synchronized.we can specify the increment size with the
vector and with arrayList we cannot

Is This Answer Correct ?    29 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between static and final?

561


What is a functional interface?

549


What are the properties of thread?

504


Which class is the superclass of all classes?

604


Can classes declared using the abstract keyword cab be instantiated?

563






What is the difference between quicksort & mergesort? When should they be used? What is their running time?

658


What is the difference between an object-oriented programming language and object-based programming language?

576


What are the 3 types of control structures?

531


What is the return type of the main method?

577


when to use ArrayList and when to use HashMap in webApplication.

3892


What is the use of accept () method in java?

611


What is float in java?

565


Can we call a non-static method from inside a static method?

564


What are the procedures?

610


What is the integer of 16?

540