Search:

Type: Posts; User: Goldfinch

Search: Search took 0.29 seconds.

  1. Replies
    14
    Views
    1,820

    [SOLVED] As it happened I tried putting the revised code...

    As it happened I tried putting the revised code in a method and it worked.
  2. Replies
    14
    Views
    1,820

    [SOLVED] Re: stack overflow error

    I'm using Netbeans 7.1, it allows me to run the program until it breaks. It looks like Netbeans doesn't think there are any compile errors, just runtime errors. The program seems to execute the first...
  3. Replies
    14
    Views
    1,820

    [SOLVED] Re: stack overflow error

    I didn't want to dump the whole thing on anyone because I thought It would be better if I posted more manageable pieces, but I'm including the entire file here just in case it helps. Unfortunately,...
  4. Replies
    14
    Views
    1,820

    [SOLVED] Re: stack overflow error

    I tried that out, and changed the code to something simpler:


    Rank[] rankArray = new Rank[13];
    for(int i=0; i<rankArray.length; i++){
    rankArray[i]= new Rank(i);
    ...
  5. Replies
    14
    Views
    1,820

    [SOLVED] Re: stack overflow error

    Well here's the whole class:


    class Rank{
    public Rank(){//initializes new instance

    }
    // Item 1: a private static array of Strings and initialize it to...
  6. Replies
    14
    Views
    1,820

    [SOLVED] Re: stack overflow error

    that reminds me, I did forget to explain my objective, this is just the relevant code from a larger program and I guess I didn't include the comment line. Here is an update of the code to reflect the...
  7. Replies
    14
    Views
    1,820

    [SOLVED] stack overflow error

    Hi,
    I keep getting a static overflow error, but I'm puzzled about how to fix it.



    public static Rank[] createRankArray(){
    Rank[] rankArray= new Rank[13];
    ...
Results 1 to 7 of 7