This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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%|