varavoorvishnu
Programmer
- Sep 9, 2002
- 45
Hi All,
I found that in one of the site the difference between Vector and ArrayList.
The explanation given is
1."Vector,a Heavyweight and ArrayList is Lightweight".
and
2.Another one is Vector-Synchronized and ArrayList-unsynchronized.
I understood the second ,but I found difficult with the first answer.
My doubt is :
1.How do u define "Heavyweight " and "Lightweight" objects? What are they?
2.What does it have to do with Collections?
Regards,
Vishnu
I found that in one of the site the difference between Vector and ArrayList.
The explanation given is
1."Vector,a Heavyweight and ArrayList is Lightweight".
and
2.Another one is Vector-Synchronized and ArrayList-unsynchronized.
I understood the second ,but I found difficult with the first answer.
My doubt is :
1.How do u define "Heavyweight " and "Lightweight" objects? What are they?
2.What does it have to do with Collections?
Regards,
Vishnu