... 类(class) 默认访问修饰符为private; 枚举(enum) ...
基于1个网页-相关网页
默认访问修饰符为
The default access modifier is
以上为机器翻译结果,长、整句建议使用 人工翻译 。
注意,如果您不对构造函数使用访问修饰符,则在默认情况下它仍为私有构造函数。
Note that if you do not use an access modifier with the constructor it will still be private by default.
youdao
应用推荐
模块上移
模块下移
不移动