... constructor-modifiers:(构造函数修饰符:) constructor-modifier(构造函数修饰符) constructor-modifiersconstructor-modifier(构造函数修饰符构造函数修饰符) ...
基于26个网页-相关网页
注释是可以添加到代码中的修饰符,可以用于包声明、类型声明、构造函数、方法、字段、参数和变量。
Annotations are modifiers you can add to your code and apply to package declarations, type declarations, constructors, methods, fields, parameters, and variables.
注意,如果您不对构造函数使用访问修饰符,则在默认情况下它仍为私有构造函数。
Note that if you do not use an access modifier with the constructor it will still be private by default.
应用推荐