您的位置:首页 > Web前端

Java-What is the difference between <? super E> and <? extends E>?

2012-10-29 10:40 567 查看
What is the difference between 
<?
super E>
 and 
<?
extends E>
?

The first says that it's "some type which is an ancestor of E"; the second says that it's "some type which is a subclass of E". (In both cases E
itself is okay.)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: