Advantages and disadvantages of arrays in Java


Benefits

  • Easier access to any element using the index.

  • Easy to manipulate and store large data.

Disadvantages

  • Fixed size. Can not be increased or decrease once declared.

  • Can store a single type of primitives only.

Updated on: 17-Jun-2020

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements