注解:对程序进行解释,可以被其他程序读取。
注解的元注解
自定义注解
@Retention(value ="")
@Target (value ="")
public @interface MyAnnotation{
int age() default 0;
}
注解:对程序进行解释,可以被其他程序读取。
注解的元注解
自定义注解
@Retention(value ="")
@Target (value ="")
public @interface MyAnnotation{
int age() default 0;
}