22 lines
196 B
Java
Executable File
22 lines
196 B
Java
Executable File
class OverloadingTest{
|
|
|
|
var;
|
|
|
|
public Object clone(){
|
|
return this;
|
|
}
|
|
|
|
public testMethode(){
|
|
return var.clone();
|
|
}
|
|
|
|
}
|
|
|
|
class OverloadingTest2{
|
|
|
|
public Object clone(){
|
|
return this;
|
|
}
|
|
|
|
}
|