// Arup Guha
// 6/20/02
// A node class to be used for implementations of linked lists for COP3503.
public class Node {	

  public int data;
  public Node  next;
	
  // Creates a single node storing the value x.
  public Node (int x) {  
    
    data = x;					 
    next = null;
  }  //end constructor
	
  // Creates a single node storing x and referencing n.
  public Node (int x, Node n) {

    data = x;
    next = n;
  } //end constructor

} //end class Node						    


