On Wed, 9 Dec 2009 01:03:35 -0800 (PST), Weasley
<> wrote, quoted or indirectly quoted someone
who said :
>String[] arr = null;
>
>No error was shown by my IDE. I thought to move ahead. But when I
>tried to increase the size of my array, I was caught.
>
>Now I learned the difference b/w Array & an Array List.
That does not make sense. You did not allocate your array, so you
can't very well talk about increasing its size.
See
http://mindprod.com/jgloss/array.html
http://mindprod.com/jgloss/arraylist.html
--
Roedy Green Canadian Mind Products
http://mindprod.com
The future has already happened, it just isn’t evenly distributed.
~ William Gibson (born: 1948-03-17 age: 61)