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