Syntax error Advantages and disadvantages of arrays in Java

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: 2020-06-17T07:50:41+05:30

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements