Search:

Type: Posts; User: ChrisMRead

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    591

    Re: Issue with initialising Array

    Probably because I'm a recent immigrant to Javaland from other languages, so not yet practiced in reaching for other constructs
  2. Replies
    4
    Views
    591

    Re: Issue with initialising Array

    Thanks

    I interpreted your comment as a need for code like this



    for(i=0;i<40;i++)
    teams[i] = new team();
  3. Replies
    4
    Views
    591

    Issue with initialising Array

    I've created an array of a self defined object 'Team'... but when I try to set a property using the array I get a NullPointerException.. Research shows this is because the Array needs to be...
Results 1 to 3 of 3