1 public class Node { 2 int value; 3 4 Node(int newVal){ 5 this.value = newVal; 6 } 7 8 public String toString(){ 9 return new String("NODE: "+value +"\n"); 10 } 11 }