package LinkedList; // The class is only visible within the LinkedList package since it is not // declared public class ListNode { // the members of ListNode are only visible to other members of the // LinkedList package since they have the default package protection Object value; ListNode next; ListNode(Object v) { value = v; next = null; } }