A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
two dimension array
Joined: Apr 03, 2009
Apr 26, 2009 07:35:55
i have two dimension. i want to store elements which are of arraylist format. that is each element in the two dimension are arraylist. i'm waiting..
Joined: Oct 13, 2005
Apr 26, 2009 07:39:30
Not a good idea to try putting generic classes into arrays.
It is however easy enough to create a List<List><Foo>> or even a List<List><List><Foo>>>.
By the way: There is no such thing as a 2-D array in Java. Only an array of arrays.
I agree. Here's the link:
subject: two dimension array
Java IO, 1.2cert, appreciate u r help
multi dimension array
how to create multidim arraylist and access it
arrays with arraylist
array of arrays with arraylist
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014