摘要:
import java.lang.annotation.*; // 定义一个自定义注解 public @interface MyAnnotation { // 在注解中定义属性 String value() default ""; } // 使用自定义注解 class MyClass { // 在类 阅读全文
posted @ 2024-01-18 10:34
aaronthon
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号