In Jeanne & Scotts book OCP Java SE8 Prog..II page 23. "The first time that we ask for any of the enum values, Java constructs all of the enum values. After that, Java just returns the already-constructed enum values." The following code doesn't seem to bear this out. What am I missing?
OCP Java SE 6 Programmer | OCM Java SE 6 Developer | OCE Web Components (OCEWD) | OCE JPA 6 (OCEJPAD) | OCE EJB 6 (OCEBCD) | OCE Web Services (OCEWSD) | OCM Java 6 Enterprise Architect(OCMEA)
MySQL Certified Administrator & Developer,
OMG Certified UML Prof. Fund., Int., Adv.