D:\Sam\InterviewsMaterial\SiteWorx\SiteWorxTest\src\java\sam_recycling_code\RootBeerAluminumCan.java |
1 /* 2 * To change this template, choose Tools | Templates 3 * and open the template in the editor. 4 */ 5 package sam_recycling_code; 6 7 /** 8 * 9 * @author sameldin 10 */ 11 public class RootBeerAluminumCan extends AluminumCan 12 { 13 public RootBeerAluminumCan() 14 { 15 setProductName("RootBeer Product"); 16 } 17 public void setProductName(String passedProductName) 18 { 19 productName = passedProductName; 20 } 21 } 22