Answer Posted / chandra
1) Arraylist is not synchronised while vector is
synchronised.
2) ArrayList doesn’t have a constructor for specifying the
incremental capacity, where as Vector has a constructor to
specify the initial capacity and incremental capacity.
3) Vector is serialized but arraylist is not.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
When a thread blocks on i/o?
what is an isolation level?
what are the activation groupworks?
Is “abc” a primitive value?
Difference between hashmap and hashtable?
What are the design considerations while making a choice between using interface and abstract class?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
Explain the difference between object state and behavior?
Can constructors be synchronized in java?
What is ioc concept & explain it?
Where can I ask questions and make suggestions about seam?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is synchronization and why is it important?
What is meant by method chaining?