Sep 16, 2004 #1 munnanext Programmer Aug 20, 2004 49 US Is this way of Declaring an array corect Int[] []x[];
Sep 16, 2004 #2 Bong Programmer Dec 22, 1999 2,063 US Well, "correct" is a pretty strong term. Here's how I do it: static String petDb[][] then petDb = new String[numPets+12][numfields] for example. Bob Rashkin rrashkin@csc.com Upvote 0 Downvote
Well, "correct" is a pretty strong term. Here's how I do it: static String petDb[][] then petDb = new String[numPets+12][numfields] for example. Bob Rashkin rrashkin@csc.com
Sep 16, 2004 #3 sedj Programmer Aug 6, 2002 5,610 int[][] x = new int[5][3]; -------------------------------------------------- Free Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
int[][] x = new int[5][3]; -------------------------------------------------- Free Database Connection Pooling Software http://www.primrose.org.uk
Sep 16, 2004 #4 stefanwagner Programmer Oct 19, 2003 2,373 DE or int[][] x [] = new int[5][3][4]; If you get bored by int[][][] x; or int x [][][]; seeking a job as java-programmer in Berlin: http://home.arcor.de/hirnstrom/bewerbung Upvote 0 Downvote
or int[][] x [] = new int[5][3][4]; If you get bored by int[][][] x; or int x [][][]; seeking a job as java-programmer in Berlin: http://home.arcor.de/hirnstrom/bewerbung