class A {
public String show(D obj) {
return ("A and D");
}
public String show(A obj) {
return ("A and A");
}
}
class B extends A{
public String show(B obj){
return ("B and B");
}
public String show(A obj){
return
this.show(object)、super.show(object)、this.show((super)o)、super.show((super)o)
![](https://img-home.csdnimg.cn/images/20240711042549.png)