Tuesday, November 29, 2011

Why ArrayList is faster than Vector?

ArrayList is faster than Vector, because ArrayList is not synchronized. Synchronization will reduce the performance of Vector.: we can specify the increment size with the vector and with array list we cannot.:ArrayList are not synchronized.Hence its faster than Vector. :I&
Category:Java Interview Questions

No comments:

Post a Comment