4 Replies Latest reply on Apr 19, 2010 6:33 AM by 843789

    LinkedList add function

      Here is the function is question.

      This is taken from the java API.
      void add(int index, Object element) 
      say you have an integer linked list created that contains the following

      2-> 4-> 6-> 8

      if you call the following
      what would happen to the 4th index?

      would the list become


      or am I missing something?