Search:

Type: Posts; User: frozen java

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    2,175

    Re: Missing elements in array

    commands has a length of 2. I'm assuming that the 2 represents the number of arrays? Quick question here, does that "2" include 0,1, and 2 or just 1 and 2?
  2. Replies
    6
    Views
    2,175

    Re: Missing elements in array

    I wrote this quick little program to debug the array:


    package encrypter;

    public class test {

    static String[][] commands = {{"commands", "new", "ls"},
    {" - Lists current commands."," -...
  3. Replies
    6
    Views
    2,175

    Missing elements in array

    I have a double array with 3 elements in it, however when I print the array it only shows the first two.

    Here's my array:

    private static String[][] commands = {{"commands", "new", "ls"}, ...
Results 1 to 3 of 3