Here\'s what I have:
public class Node{ Object data; Node next; Node(Object data, Node next){ this.data = data; this.next = next
To add to the end, you'd have to walk to the end of the list (i.e., to where next=null) and add a new node there.
In the real world, you'd use an ArrayList for this and not bother with a linked list or manual structure at all.