| View previous topic :: View next topic |
| Author |
Message |
sulabh
Joined: 24 Apr 2009 Posts: 27
|
Posted: Wed Dec 09, 2009 8:22 am Post subject: Difference between Arrays and ArrayList |
|
|
A java.util.ArrayList has the following characteristics over
an array:
1. Provides a resizable array implementation
2. Implements the java.util.List interface
3. Has a tuning parameter called initialCapacity which
specifies the number of elements the ArrayList can hold
before it has to be resized. |
|
| Back to top |
|
 |
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|