The reason i chose F was because i thought enum variables are private and cannot be accessed directly.
Since no access modifier was specified for 'sound' variable, i thought line 9 would complain that the instance variable is not visible.
Could someone please explain why my line of reasoning is wrong. Are instance variables of enums public by default?
Although Chinmaya has already made it clear still I would add a few lines to it. If no access specifier has been mentioned before a variable it does not mean that it will be private. By default the access specifier is Default which provides a package level access.