Enum is declared as protected. Why it is legal?
By declaring it protected, you let the subclasses of the Chemistry class access it.
Why do you think it should NOT be legal?