表示允许子类继承父类的注解是?

分类: 单选题 发布时间: 2024-01-20 20:41 浏览量: 0

表示允许子类继承父类的注解是?

A.@Documented

B.@Target

C.@Inherited

D.@Repeatable

正确答案是C