A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
array and arraylist
Joined: Sep 01, 2005
May 28, 2006 13:58:00
what is the difference between array and arraylist?
Joined: Oct 13, 2005
May 28, 2006 14:26:00
The short answer is that an array has a fixed capacity, whereas an
can change its capacity as required.
Arrays are set up without using a special class; ArrayLists (capital A and L) are set up using the
You can find out about arrays
here in the Java tutorial,
and about ArrayLists in the API specification or
here in the Java tutorial.
I agree. Here's the link:
subject: array and arraylist
size of the list
reading a user chosen file into array
String array to arraylist
Date difference, with the table containing null values for date
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014