why the modifier protected is not allowed for the class declaration??
why??
Collapse
This topic is closed.
X
X
-
DYTags: None -
hiwa
Re: why??
"DY" <[email protected] > wrote in message news:<bp5i85$fi [email protected] igator.com>...[color=blue]
> why the modifier protected is not allowed for the class declaration??[/color]
Because the protected modifier controls member access. So, member
class can be 'protected.' See Java Langauge Specification 8.1.1.
Comment