// Allison Obourn // CSE 143 - Lecture 6 // Demonstrates using ListNode objects to build chains of values. public class ListClient { public static void main(String[] args) { // this code does the same thing as the uncommented out code below // ListNode list = new ListNode(); // list.data = 3; // list.next = new ListNode(); // list.next.data = 42; ListNode node = new ListNode(3, new ListNode(42)); } }