1- Array contains similar data type. Vector can store heterogeneous data types,
2if restriction is not put using generics concept.
3- Array has primitive data type, does not belong to Collection family.
4Vector implements List interface which is a part of collection hierarchy.
5- Array is static and needs to be assigned with the fixed size during
6initialization. Vector resizes itself dynamically as per the need. So,
7it is dynamic in nature.
8- Array is non-synchronized. Vector is synchronized.
9- Array can be traversed using for loop or enhanced for loop. It cannot use
10iterator or enumeration interface. Vector can be traversed using iterator
11or enumeration interface.
12