Thread: Bounded Array
View Single Post
  #5 (permalink)  
Old 01-04-2008, 10:41 AM
bugger bugger is offline
Senior Member
 
Join Date: Nov 2007
Posts: 111
bugger is on a distinguished road
Thanks all of you. It was a simple thing that I was not thinking of:

Code:
int size = 10; String[] array = new String[size];
But I learnt that if size is not defined, we can use ArrayList. And also generics can be used.

Again, thanks guys.
Reply With Quote