Practice Problems on enum – Set1

On

What would be the output of the below Program : Problems on enum?? The below problems on enum is based on classloading of enum classes. MONTHS.java package com.masterjavatutorial; public enum MONTHS { JANUARY,FEBRUARY,MARCH,APRIL, MAY,JUNE,JULY,AUGUST, SEPTEMBER,OCTOBER,NOVEMBER,DECEMBER; MONTHS(){ System.out.println(“HelloWorld”); } } Example.java package com.masterjavatutorial;…