forked from JavaTX/JavaCompilerCore
17 lines
291 B
Java
Executable File
17 lines
291 B
Java
Executable File
class Worker1{
|
|
void doSomething(String x){}
|
|
}
|
|
class Worker2{
|
|
void doSomething(Integer y){}
|
|
}
|
|
class Content1{
|
|
String getElem(){return("");}
|
|
}
|
|
class Content2{
|
|
Integer getElem(){return(1);}
|
|
}
|
|
class User{
|
|
meth(worker,content){
|
|
worker.doSomething(content.getElem());
|
|
}
|
|
} |