Compiler fails with error. An enum switch case label must be the unqualified name of an enumeration constant. Pdf The Java Programmi…