Search:

Type: Posts; User: javapenguin

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    3,357

    Re: Multiple instances of linked list

    list and first won't reference the same object unless you set it to.
  2. Replies
    5
    Views
    3,357

    Re: Multiple instances of linked list

    they are. However, list and first are references to a linked list. The linked list that list is referring to is not the same, unless you specifically set it using clone() or something, the same as...
  3. Replies
    5
    Views
    3,357

    Re: Multiple instances of linked list

    Because you just created a new linked list with nothing in it.

    Unless your LinkedList class starts with 29 elements, it will have none to start with, and it looks like your declaration is the last...
Results 1 to 3 of 3