A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
arrays with arraylist
array of arrays with arraylist
how to create multidim arraylist and access it
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014