1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #1133 from jaywhen/patch-1

Java 语句遗漏分号
This commit is contained in:
Guide哥 2021-03-22 23:09:51 +08:00 committed by GitHub
commit c6819e71c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,7 @@ Method add = clazz.getDeclaredMethod("add", Object.class);
//但是通过反射添加,是可以的
add.invoke(list, "kl");
System.out.println(list)
System.out.println(list);
```
泛型一般有三种使用方式:泛型类、泛型接口、泛型方法。