public class Stack{ public Node top; // The top node in the stack }