|
关注:1
2013-05-23 12:21
求翻译:The same is also true with generics. You can perform a generic type invocation, passing Number as its type argument, and any subsequent invocation of add will be allowed if the argument is compatible with Number:是什么意思?![]() ![]() The same is also true with generics. You can perform a generic type invocation, passing Number as its type argument, and any subsequent invocation of add will be allowed if the argument is compatible with Number:
问题补充: |
|
2013-05-23 12:21:38
同样也是如此泛型。
|
|
2013-05-23 12:23:18
同样对普通也是真实的。您可执行一个普通类型祈求,通过数字作为它的类型论据,并且所有随后祈求增加将准许,如果论据是与数字兼容:
|
|
2013-05-23 12:24:58
同样也是真实的与generics。 您可执行一个普通类型祈求,通过数字作为它的类型论据,并且所有随后祈求增加将准许,如果论据是与数字兼容:
|
|
2013-05-23 12:26:38
同样也是如此使用泛型。您可以执行一个泛型类型调用数作为其类型参数传递,并添加任何后续调用将会允许如果该参数是数字与兼容:
|
|
2013-05-23 12:28:18
正在翻译,请等待...
|
湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区