13 lines
205 B
Plaintext
13 lines
205 B
Plaintext
|
class A<a> { }
|
||
|
|
||
|
class B<a> extends A<a> {
|
||
|
f(Boolean x) {
|
||
|
if (x) {
|
||
|
return new B<Integer>(); }
|
||
|
else {
|
||
|
return new C<Integer>(); }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class C<a> extends B<A<a>> {}
|