Search:

Type: Posts; User: angstrem

Search: Search took 0.13 seconds.

  1. Replies
    18
    Views
    1,633

    Re: how to access array f objects in java

    The best way is to use collection, a List for example.
  2. Replies
    18
    Views
    1,633

    Re: how to access array f objects in java

    So do you want some kind of memory in your object to remember the results of all your accesses and computations?
  3. Replies
    18
    Views
    1,633

    Re: how to access array f objects in java

    yes. [code=Java] before, [//code] (with 1 slash) after
  4. Replies
    18
    Views
    1,633

    Re: how to access array f objects in java

    NullPointerException means, that you're trying to do something with null. Hence, check up every object in main() to be not null. Please, wrap your code in the [code=Java]/*...*/[//code] - it's really...
  5. Replies
    18
    Views
    1,633

    Re: how to access array f objects in java

    Update the array during each access...
  6. Replies
    18
    Views
    1,633

    Re: need help in using array of objects to access classes...

    Can you post the code here?
Results 1 to 6 of 6