Saibabaa Pragada wrote:Hi, I just wanted to know & looking for the reasons why we cannot define enum with public, protected and private access specifiers. enum works only for default(no access specifier).
What do you mean? Enum constants or Enum class?
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|