public class Stack { StackNode head; Stack() { head = null; } }