Are you sure the OP didnt mean "initial capacity"?
If so, this would default to 10, whereas the "default size" would always be 0 unless the
- Constructor is used. Then the size would be (obviously) c.size().
Hava look:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html Prost
Christoph
[ June 09, 2008: Message edited by: Christoph Naber ]
[ June 09, 2008: Message edited by: Christoph Naber ]