Hello Weasley, Array is fixed in size, and ArrayList (a Collection) is re-sizable.
--------------------------------------- Kamal Mettananda http://lkamal.blogspot.com On Wed, Dec 9, 2009 at 2:26 PM, Weasley <samyaksul...@gmail.com> wrote: > Hello Friends, > > I wrote a function yesterday, and defined an String array there. I > defined it like, > > 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. > > Read more .. http://www.ezdia.com/Arrays_and_Arraylists/Content.do?id=1025 > > -- > You received this message because you are subscribed to the Google > Groups "Java EE (J2EE) Programming with Passion!" group. > To post to this group, send email to > java-ee-j2ee-programming-with-passion@googlegroups.com > To unsubscribe from this group, send email to > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com<java-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com> > For more options, visit this group at > > http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en