Skip to content

Commit

Permalink
Merge pull request #4 from fanofxiaofeng/patch-1
Browse files Browse the repository at this point in the history
"注释"->"注解"
  • Loading branch information
brianway authored Aug 10, 2017
2 parents d8261dd + 93a11b2 commit 5b3c4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blogs/javase/java基础巩固笔记(6)-注解.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Class C{
```
RetentionPolicy.SOURCE 注解将被编译器丢弃
RetentionPolicy.CLASS 注解在class文件中可用,但会被VM丢弃
RetentionPolicy.RUNTIME VM将在运行期也保留注释,因此可以通过反射机制读取注解的信息。
RetentionPolicy.RUNTIME VM将在运行期也保留注解,因此可以通过反射机制读取注解的信息。
```

- `@Target`
Expand Down

0 comments on commit 5b3c4ec

Please sign in to comment.