/** example 1 - shows that value field was initialized to 0 // shows that myIntNode is holding an address // shows that myIntNode.next was initialized to null */ public class TestIntNode { public static void main (String [] args) { IntNode myIntNode; int temp; myIntNode = new IntNode(); temp = myIntNode.value; System.out.println (temp); System.out.println (myIntNode); System.out.println (myIntNode.next); }//end main }// end class