What is the benefit of extending a generic by specifying the new type as actual type of generic

前端 未结 5 683
逝去的感伤
逝去的感伤 2021-01-05 14:27

I saw this pattern somewhere:

class A extends B {

}

This structure is a little unusual to extend a generic by specifying the new

5条回答
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题