InterfaceExample example = new InterfaceExample();
System.out.println(example.b.f(10));
System.out.println(example.a.f(example.b));
System.out.println(example.a.f(example.a));
int x = 95;
public int f(I i){ return f(x) + 22 ;}
public int f(int i) { return i + 8;}
int y = 166;
public int f(I i){ return i.f(y);}
public int f(int i) { return f(a) - 8;}
第 12、13、14 行给出了数字 166、125、125。我已经明白如何得到 125,但第一个数字让我感到困惑
“...我已经明白如何得到 125,但第一个数字让我感到困惑”
对于第一个数字,
B.f(a.f(166 + 8) - 8)