12 lines
260 B
Plaintext
Raw Normal View History

Stack<a> Menge<? extends Number>
2013-10-18 13:33:46 +02:00
AbstractList<Integer> List<a>
/* funktioniert */
class Number {}
class Integer extends Number {}
class AbstractList<a> extends List<a> {}
class List<a> {}
class Menge<a> extends List<a> {}
class Stack<a> extends Menge<a> {}