摘要: 一、注解的定义和使用 使用@interface修饰符来声明注解 /* * 自定义注解 */ public @interface MyAnnotation { } 使用注解:@MyAnnotation /** * 使用注解 **/ @MyAnnotation public class MyTestCl 阅读全文
posted @ 2021-08-06 14:08 码农小匠 阅读(35) 评论(0) 推荐(0) 编辑