Friday, 18 March 2016

What are decalaration rules for enums ?

 
  • Enums cannot be private or protected.
  • Enums cannot be declared inside the methods.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.