Arrays vs collections
There are so many differences
1.Arrays are fixed in size but Collections are dynamic size.
2.Arrays can hold both primitives and wrapper
objects but collections can hold only objects.
3.We have iterators for collection but we
do not have them for arrays.
Obedient Ocelot