posted 12 years ago
According to my knowledge, protected member of a class can be accessed only by its subclasses. But in case the member is enum why can we access it in non-subclass type..
Here's the code
I shall be thankful to you . kindly guide me.