12 lines
263 B
Java
Executable File
12 lines
263 B
Java
Executable File
Stack<a> Vector<? extends Number>
|
|
AbstractList<Integer> List<a>
|
|
|
|
/* funktioniert */
|
|
|
|
class Number {}
|
|
class Integer extends Number {}
|
|
|
|
class AbstractList<a> extends List<a> {}
|
|
class List<a> {}
|
|
class Vector<a> extends List<a> {}
|
|
class Stack<a> extends Vector<a> {} |