Rookie question - about the class access specifier

Category: Java SE
2009-03-31 10:04:08

Sponsored Links
protected class Untitled4 {

public Untitled4 () {
Error #: ; modifier protected not allowed
ask why not use the protected modifier? The default modifier class should be protected, right?

Sponsored Links

2009-03-31 10:10:49
inner classes can only be modified with the protected and private Oh, protected class default is not modified, but the friendly ------ 'friendly', it said in a package available.
2009-03-31 10:24:04
agree with the above statement
2009-03-31 10:31:38
modifiers conflict
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.