Differentiate Vector and ArrayList?
Answer Posted / anitha
a)Vector is a synchronized, where as an ArrayList is not
synchronized.
b)when size is going to exceed, the ArrayList size is
double of it's size, where as Vector size is increase half
of its size.
except these two both r roughlt equal.
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is structure of java heap? What is perm gen space in heap?
What is the integer of 16?
What things should be kept in mind while creating your own exceptions in java?
Is nan false?
How to do encapsulation in java?
What are the advantages of compiled language?
Discuss different types of errors that generally occur while programming.
What is the largest data type in java?
What is the use of java?
What is the purpose of sizeof operator?
List the interfaces which extends collection interface?
What is the use of parseint in java?
How to do a true java ping from windows?
What is a dynamic array java?
What is get () in java?