JavaCompilerCore/examples/luar/WCTest9.jav

14 lines
206 B
Java
Executable File

Subtype Pair<a,b>
/* nochmals pruefen koennte aber stimmen */
class Number {}
class Integer extends Number {}
class Menge<a> { }
class Pair<a,b> { }
class Subtype extends Pair<Integer,Integer> { }