Vector ArrayList
1) All methods of vector are synchronized 1) no method is synchronized
2) vector object is thread safe 2) ArrayList object is not thread safe by default
3) performance is low 3) performance is High
4) 1.0 version(Legacy) 4) 1.2 version(non Legacy)
1) All methods of vector are synchronized 1) no method is synchronized
2) vector object is thread safe 2) ArrayList object is not thread safe by default
3) performance is low 3) performance is High
4) 1.0 version(Legacy) 4) 1.2 version(non Legacy)
No comments:
Post a Comment