package class9_2_CurrencyFactory_inClass.currency;// Dr. Yoder. MSOE. 06 February 2017 public class FiveDollarBillMaker extends CurrencyMaker { public FiveDollarBillMaker() { name = "Five Dollar bill"; substrate = "paper"; frontImprint = "Lincoln"; backImprint = "Licoln Memorial"; } @Override public void makeCurrency() { System.out.println( "Printing the " + frontImprint + " for the " + name ) ; System.out.println( "Printing the " + backImprint + " for the " + name ) ; } @Override public String getProductName() { return "US Five Dollar Bill"; } }