提交 848f41aa 编写于 作者: 沉默王二's avatar 沉默王二 💬

Update javase.md

上级 e7b061d9
......@@ -1048,11 +1048,8 @@ Generic<Integer> genericInteger = new Generic<Integer>(123456);
**2.泛型接口**
```java
class GeneratorImpl<T> implements Generator<T>{
@Override
public T method() {
return null;
}
public interface Generator<T> {
public T method();
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册