public class Node { public String data; // Each node has a String... public Node link; // ...and a link to the next Node }