Skip to content

Commit

Permalink
泛型实例修改
Browse files Browse the repository at this point in the history
  • Loading branch information
imba-tjd committed Jun 2, 2021
1 parent 4545a7f commit 53e24b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/basis/Java基础知识.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ class GeneratorImpl<T> implements Generator<T>{
实现泛型接口,指定类型:

```java
class GeneratorImpl<T> implements Generator<String>{
class GeneratorImpl implements Generator<String>{
@Override
public String method() {
return "hello";
Expand Down

0 comments on commit 53e24b4

Please sign in to comment.