JavaCompilerCore/examples/hoti/Overl.jav

24 lines
282 B
Plaintext
Raw Permalink Normal View History

2013-10-18 11:33:46 +00:00
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));
}
}