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.

enter image description here

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.

enter image description here

by default, ide try create top-level class, specification cannot private or protected.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -