Top level classes can ONLY be "public" or (so called) "friendly" ie; without any access modifier. NOT "private" NOT "protected" Again... summing up ... Regds. - satya
Nested top-level classes, i.e. static member classes or so-called "static inner" classes, certainly can be private. Non-nested top-level classes ("normal" or package-level classes) must be public or default.
"I'm not back." - Bill Harding, Twister
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
a bit of art, as a gift, the permaculture playing cards