// This class contains the example from lecture. // Drag the "dummy" variable out to view p and q. public class ListTest { public static void main(String[] args) { ListNode dummy = new ListNode(1); ListNode p = new ListNode(2, new ListNode(4)); ListNode q = new ListNode(3, new ListNode(9)); p.next.next = q; q = q.next; p.next.next.next = null; } }