... 前向声明(Forward Declarations)4.17 继承(Inheritance)4.17.1 从类型object中隐含的继承4.17.2 空接口(Empty Interface)4.17.3 接口与实现的继承4.17.4 继承的重定义规则4.17.5 继承的限定4.17.6 多重继承4.17.7 多重继承的限定4.18 名称和作用域4.18...
基于31个网页-相关网页
An empty interface does not define any members.
空的接口不定义任何成员。
It is important to note that every object implements the empty interface.
需要特别指出的很重要的一点就是所有的对象都实现了这个空接口。
If the identification must occur at compile time, then it is acceptable to use an empty interface.
如果该标识必须在编译时出现,则使用空接口是可以接受的。
应用推荐