By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,798 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,798 IT Pros & Developers. It's quick & easy.

why??

P: n/a
DY
why the modifier protected is not allowed for the class declaration??
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"DY" <do****@abc.com> wrote in message news:<bp*********@imsp212.netvigator.com>...
why the modifier protected is not allowed for the class declaration??

Because the protected modifier controls member access. So, member
class can be 'protected.' See Java Langauge Specification 8.1.1.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.