/**
 * @file FileName.java
 * @author samov004
 * @version 1.0.0
 * @date 9/9/15
 */

package com.samovich.basics.concepts.objects.treehouse;

public class PezDispenser {

    public static final int MAX_PEZ = 12;
    private String characterName;
    private int pezCount;

    // Constructor
    public PezDispenser(String characterName){
        this.characterName = characterName;
        this.pezCount = 0;
    }

    // Getter
    public String getCharacterName() {
        return characterName;
    }

    public void load(){
        this.pezCount = MAX_PEZ;
    }
}

/**
 * @file FileName.java
 * @author samov004
 * @version 1.0.0
 * @date 9/9/15
 */

package com.samovich.basics.concepts.objects.treehouse;

public class PezDispenser {

    private String characterName;

    // Constructor
    public PezDispenser(String characterName){
        this.characterName = characterName;
    }

    // Getter
    public String getCharacterName() {
        return characterName;
    }

}

--- 
+++ 
@@ -9,11 +9,14 @@
 
 public class PezDispenser {
 
+    public static final int MAX_PEZ = 12;
     private String characterName;
+    private int pezCount;
 
     // Constructor
     public PezDispenser(String characterName){
         this.characterName = characterName;
+        this.pezCount = 0;
     }
 
     // Getter
@@ -21,4 +24,7 @@
         return characterName;
     }
 
+    public void load(){
+        this.pezCount = MAX_PEZ;
+    }
 }
Add constant to the class
