Search:

Type: Posts; User: newbie

Search: Search took 0.10 seconds.

  1. Re: newby Questions - indexOf help with an ArrayList

    The first index in an ArrayList starts at 0.
    So when you say get(3), you're actually referring to the 4th entry.
  2. Re: newby Questions - indexOf help with an ArrayList

    What Norm said.
    Also:


    Call my cynical, but I absolutely doubt that It's returning the 4th ArrayList entry based on the code you posted.

    Edit: To add to Norms post, check out indexOf and...
Results 1 to 2 of 2