2015-04-22 19:40:22 +00:00
|
|
|
Stack<a> Menge<? extends Number>
|
2013-10-18 11:33:46 +00:00
|
|
|
AbstractList<Integer> List<a>
|
|
|
|
|
|
|
|
/* funktioniert */
|
|
|
|
|
|
|
|
class Number {}
|
|
|
|
class Integer extends Number {}
|
|
|
|
|
|
|
|
class AbstractList<a> extends List<a> {}
|
|
|
|
class List<a> {}
|
2015-04-22 19:40:22 +00:00
|
|
|
class Menge<a> extends List<a> {}
|
|
|
|
class Stack<a> extends Menge<a> {}
|