Public feed #894370

Something

public java v1 · immutable
Raw Edit
·published 2008-02-06 22:07 UTC
rendered paste body
public class LinkedListApp {                public static void main(String[] args) {                LLNode sNode;                sNode = new LLNode("baseball" );                Integer myInt = 5;                LLNode iNode = new LLNode(myInt );                                sNode.setLink(iNode);                LLNode currNode = sNode;                while(currNode != null){                System.out.println(currNode.getData());                currNode = currNode.getLink();                }        }}