best answer > Can we create a private class in Java 2024?- QuesHub | Better Than Quora
The most authoritative answer in 2024
  • Benjamin Brown——Works at the International Civil Aviation Organization, Lives in Montreal, Canada.

    private classes are allowed but only as inner or nested classes.If you have a private inner or nested class, then access is restricted to the scope of that outer class. ... We can not declare outer class as private. More precisely we can not use private access specifier with outer class.read more >>
    +119962023-05-13 14:09:55

About “我们可以、嵌套、说明符”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消