17 lines
195 B
Java
Executable File
17 lines
195 B
Java
Executable File
import de.dhbwstuttgart.typeinference.Menge;
|
|
|
|
class ZweiKlassen {
|
|
|
|
foo() {
|
|
c;
|
|
c = new Menge<Integer>() ;
|
|
return c;
|
|
}
|
|
|
|
}
|
|
|
|
class X {
|
|
ZweiKlassen bb;
|
|
|
|
foo2() { return bb.foo();}
|
|
} |