Search:

Type: Posts; User: javapenguin

Search: Search took 0.09 seconds.

  1. Re: why am I getting an endless loop in this implementation of addlast to linkedlist

    else
    {
    Node current = first;
    while(current.next != null)
    {
    System.out.println("here!");

    current =...
  2. Re: why am I getting an endless loop in this implementation of addlast to linkedlist

    while(current != null)
    {
    System.out.println("here!");
    if(current.next == null)
    {
    current.next = p;
    ...
Results 1 to 2 of 2