Wednesday, February 11, 2009

StringCollection vs ArrayList

ArrayList is Obsolete.

ArrayList of strings, better or StringCollection .

Cost of Casting occurs in both cases when accessing item from both collections.

ArrayList we need to implement toString(), StringCollection Wrapper implements this method internally.

No comments:

Post a Comment