Vector:
- Vector is legacy class means that is introduced in Java 1.0.
- Vector class are Thread Safe.
- All method in the Vector class are Syncronized.
- Relatively Speed is less than the ArrayList.
ArrayList:
- ArrayList is new class means that is introduced in Java 2.0.
- ArrayList class are not Thread Safe.
- No any method in the Vector class is Syncronized.
- Relatively Speed is faster than the Vector.
goood..!
ReplyDelete