import java.util.ArrayList; /** Demo of some code that uses the Shippable interface @author P. Conrad @version for CS56, S11, 4/26/11 */ public class ShipDemo01 { public static void main(String [] args) { ArrayList customerOrder = new ArrayList(); PairOfShoes p1 = new PairOfShoes(10.5,"brown"); PairOfShoes p2 = new PairOfShoes(10,"white"); customerOrder.add(p1); customerOrder.add(p2); for (Shippable s: customerOrder) { System.out.println("s=" + s); } } }