public class Test2 { public static void main(String[] args) { // build the list 1 3 5 .. 19 1 3 5 .. 19 Node handle = null; for (int i = 19; i > 0; i -= 2) { handle = new Node(i, handle); } for (int i = 19; i > 0; i -= 2) { handle = new Node(i, handle); } // print the list NodeMethods.print(handle); // change each 13 to a 0 handle = NodeMethods.change(13, 0, handle); // print the new list NodeMethods.print(handle); } }