public abstract class main2 { public static void main(String [] args) { IntStackA s=new IntStack(); IntStackA t=new IntStack(); s.push(3); System.out.println("s="+s); s.push(4); System.out.println("s="+s); s.push(9); System.out.println("s="+s); t.push(3); System.out.println("t="+t); t.push(4); System.out.println("t="+t); t.push(9); System.out.println("t="+t); System.out.println("s==t: "+(s==t)); System.out.println("equals(s,t): "+s.equals(t)); System.out.println("hashCode(s)="+Integer.toHexString(s.hashCode())); System.out.println("hashCode(t)="+Integer.toHexString(t.hashCode())); } }