Arrays
|
Collection
|
Arrays are Fixed in Size.
|
Collection are Grow able in Nature.
|
With Respect to Memory Arrays are Not Recommended to Use.
|
With Respect to
Memory Collection are Recommended to Use.
|
With Respect to Performance Arrays are Recommended to Use.
|
With Respect to Performance Collection are Not Recommended to
Use.
|
Arrays can Hold Only Homogeneous Data Elements.
|
Collection can
Hold Both Homogeneous and Heterogeneous Elements.
|
Arrays can Hold Both Primitives and
Objects
|
Collection can Hold Only Objects but
Not Primitives.
|
Arrays Concept is Not implemented based on Some Standard Data
Structure. Hence Readymade Method Support is Not Available.
|
For every
Collection class underlying Data Structure is Available Hence Readymade
Method Support is Available for Every Requirement.
|
6 Dec 2017
Collection