JavaCompilerCore/examples/hoti/Overl.jav
2013-10-18 13:33:46 +02:00

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));
}
}