title: When do Enum instances get created?
body: <p>I have a simple question regarding <code>Enums</code> in Java Please refer to the following code . When do the instances like <code>PropName .CONTENTS</code> get instantiated ? </p>
  
  <pre><code>public enum PropName {
  
    CONTENTS("contents"),
    USE_QUOTES("useQuotes"),
    ONKEYDOWN("onkeydown"),
    BROWSER_ENTIRE_TABLE("browseEntireTable"),
    COLUMN_HEADINGS("columnHeadings"),
    PAGE_SIZE("pageSize"),
    POPUP_TITLE("popupTitle"),
    FILTER_COL("filterCol"),
    SQL_SELECT("sqlSelect"),
    ;
  
    private String name;
  
    private PropName(String name) {
      this.name = name;
    }
  
    public String getName() {
      return name;
    }
  }
  </code></pre>