This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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%|