Disadvantages of Array over Linked List

Disadvantages of Array over Linked List

  1. Total number of elements need to be mentioned or the memory allocation needs to be done at the time of array creation
  2. The size of array, once mentioned, cannot be increased in the program. If number of elements entered exceed the size of the array ARRAY OVERFLOW EXCEPTION occurs.
Advertisements

2 thoughts on “Disadvantages of Array over Linked List

your comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s