Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.12 seconds.

  1. Re: Creating multiple arraylists with a loop?

    import java.util.ArrayList;


    public class Test {
    public static void main(String[] args) {
    ArrayList< ArrayList<Character> > dice = new ArrayList< ArrayList<Character> >();
    for(int i = 0;...
  2. Re: Creating multiple arraylists with a loop?

    What you need to do it create a 2D array list.


    ArrayList< ArrayList<String> > dice = new ArrayList< ArrayList<String> >();
    for(int i = 0; i<16; i++){
    ArrayList<String> die = new...
Results 1 to 2 of 2