注解
在java中,注释(Annotation)分为三类:
1、基本注解(又称内建注解,共三种:@Override;@Deprecated;@suppressWarnings)
2、元注解(共四种:@Retention;@Target;@Documented;@Inherited)
3、自定义注解
注解
在java中,注释(Annotation)分为三类:
1、基本注解(又称内建注解,共三种:@Override;@Deprecated;@suppressWarnings)
2、元注解(共四种:@Retention;@Target;@Documented;@Inherited)
3、自定义注解