forked from JavaTX/JavaCompilerCore
23 lines
248 B
Java
Executable File
23 lines
248 B
Java
Executable File
public class M1{}
|
|
|
|
public class M2 extends M1 {}
|
|
|
|
public class Test {
|
|
|
|
public doSomething(Boolean big){
|
|
M2 ret;
|
|
|
|
ret1;
|
|
ret2;
|
|
|
|
ret1=new M2();
|
|
ret2=new M2();
|
|
|
|
if(big){
|
|
ret=ret1;
|
|
}else{
|
|
ret=ret2;
|
|
}
|
|
return(ret);
|
|
}
|
|
} |