D:\Sam\InterviewsMaterial\SiteWorx\SiteWorxTest\src\java\sam_recycling_code\PepsiAluminumCan.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 PepsiAluminumCan extends AluminumCan 12 { 13 public PepsiAluminumCan() 14 { 15 setProductName("Papsi Product"); 16 } 17 public void setProductName(String passedProductName) 18 { 19 productName = passedProductName; 20 } 21 22 } 23