forked from JavaTX/JavaCompilerCore
24 lines
282 B
Java
Executable File
24 lines
282 B
Java
Executable File
class Overl<X>{
|
|
|
|
public Integer overloaded(a){
|
|
return(a);
|
|
}
|
|
public String overloaded(b){
|
|
return(b);
|
|
}
|
|
|
|
}
|
|
|
|
class OverlMaster<X> extends Overl<X>{
|
|
public X overloaded(a){
|
|
return(a);
|
|
}
|
|
}
|
|
|
|
class Test{
|
|
public Boolean test(Boolean b){
|
|
c;
|
|
return(c.overloaded(b));
|
|
}
|
|
|
|
} |