public void open(Box<? super BirthGift> box) {}参数中Box的泛型是什

分类: 单选题 发布时间: 2024-01-20 20:41 浏览量: 0

public void open(Box<? super BirthGift> box) {}参数中Box的泛型是什么类型?

A.任意类型

B.可以是BirthGift的子类型

C.可以是BirthGift的父类型

D.只能是BirthGift类型

正确答案是C