why??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DY

    why??

    why the modifier protected is not allowed for the class declaration??


  • hiwa

    #2
    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

    Working...