Search:

Type: Posts; User: pbrockway2

Search: Search took 0.09 seconds.

  1. Replies
    14
    Views
    1,830

    [SOLVED] Re: stack overflow error

    Note that the rank array is supposed to be static. Think about why this should make a difference as far as the infinite loop goes.
  2. Replies
    14
    Views
    1,830

    [SOLVED] Re: stack overflow error

    public static Rank[] createRankArray(){
    Rank[] rankArray= new Rank[13];
    for(int i=0; i<rankArray.length; i++) {
    // The createRankArray() method creates 13 new Rank instances......
Results 1 to 2 of 2