Skip to content

Commit 831658b

Browse files
authored
Merge pull request Snailclimb#2165 from galaxylzp/patch-1
Update reflection.md
2 parents 8739559 + fdfa5c3 commit 831658b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/java/basis/reflection.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,10 @@ value is JavaGuide
178178
```
179179

180180
**注意** : 有读者提到上面代码运行会抛出 `ClassNotFoundException` 异常,具体原因是你没有下面把这段代码的包名替换成自己创建的 `TargetObject` 所在的包 。
181+
可以继续参考:https://www.cnblogs.com/chanshuyi/p/head_first_of_reflection.html
181182

182183
```java
183184
Class<?> targetClass = Class.forName("cn.javaguide.TargetObject");
184185
```
185186

186-
<!-- @include: @article-footer.snippet.md -->
187+
<!-- @include: @article-footer.snippet.md -->

0 commit comments

Comments
 (0)