Unexpected output

Report a typo

enum Sections {
    DAISY, LOTUS, TULIP, ROSE
}
EnumSet<Sections> sections = EnumSet.allOf(Sections.class);
sections.remove(Sections.LOTUS);
sections.remove(Sections.DAISY);
sections.remove(Sections.ROSE);
sections.add(Sections.ROSE);
sections.add(Sections.LOTUS);
System.out.println(sections);

What will be the output in the console?

Select one option from the list
___

Create a free account to access the full topic