|
关注:1
2013-05-23 12:21
求翻译:What type of argument does it accept? By looking at its signature, you can see that it accepts a single argument whose type is Box. But what does that mean? Are you allowed to pass in Box or Box, as you might expect? The answer is "no", because Box and Box are not subtypes of Box.是什么意思? 待解决
悬赏分:1
- 离问题结束还有
What type of argument does it accept? By looking at its signature, you can see that it accepts a single argument whose type is Box. But what does that mean? Are you allowed to pass in Box or Box, as you might expect? The answer is "no", because Box and Box are not subtypes of Box.
问题补充: |
|
2013-05-23 12:21:38
它不接受什么类型的参数?
|
|
2013-05-23 12:23:18
它接受什么样的论据?通过看它的署名,您能看到它接受类型是Box的一个唯一论据。但是什么那个手段?您允许通过在Box或Box,您也许期望?答复是“不”,因为Box和Box不是Box子型。
|
|
2013-05-23 12:24:58
它接受什么样的论据? 通过看它的署名,您能看它接受类型是Box的一个唯一论据。 但什么那个手段? 您允许通过在Box或Box,您也许期望? 答复“没有”是,因为Box和Box不是Box子型。
|
|
2013-05-23 12:26:38
是否接受何种类型的参数?通过查看它的签名,您可以看到它接受一个参数的类型是 框。但那是什么意思?你允许通过在框 或 框,如你可能期望吗?答案是"否",因为 和框 不是 框的子类型。
|
|
2013-05-23 12:28:18
它接受什么种类的论点?通过看其签名,你可以看清它接受单个的论点其类型是盒子。但是那意味着什么?是你允许递给收件箱或把装箱,由于你期待?答案“不”是,因为盒子和把装箱不是盒子的子类型。
|
湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区