java - Why does eclipse IDE disable private and protected class creation radio buttons -
just wondering reason eclipse ide prevents create private/protected classes if try creating doing right click on project , "new>class>"?
as can see private , protected radio buttons disabled in following image.
which characteristic feature of java causes happen?
if select enclosing type
check-box in new java class
windows (and provide existing class enclosing one), eclipse will let select protected
or private
modifier.
by default, ide try create top-level class, specification cannot private
or protected
.
Comments
Post a Comment