标注作为修饰符,可以添加到包、类、接口、方法或字段声明中。
Annotations serve as modifiers that can be added to packages, classes, interfaces, methods, or field declarations.
为了实现这种功能,在接口上的类型应该被标记为“in”或“out”修饰符。
In order to do this types in the interface can be marked with either an "in" or "out" modifier.
要将这个修饰符设置为True,您必须通过一个同步接口来调用这个服务。
To set this qualifier to "True", you must call the service through a synchronous interface.
修饰符可以在定义类和接口时使用,但它们通常并不是必需的。
You may use modifiers when defining classes and interfaces, but they are usually not required.
接口成员自动公用,而且它们不能包含任何访问修饰符。
Interfaces members are automatically public, and they cannot include any access modifiers.
修饰符可以在定义类和接口时使用,但它们并不是必需的。
You can use modifiers when defining classes and interfaces, but they are not required.
为什么不能指定接口中方法的修饰符?
Why can't you specify the accessibility modifier for methods inside the interface?
为什么不能指定接口中方法的修饰符?
Why can't you specify the accessibility modifier for methods inside the interface?
应用推荐