One disadvantage of array code example
Example: disadvantages of array
Size Limit: We can store only fixed size of elements in
the array. It doesn't grow its size at runtime. To solve this
problem, collection framework is used in java.
Size Limit: We can store only fixed size of elements in
the array. It doesn't grow its size at runtime. To solve this
problem, collection framework is used in java.