mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
23 lines
307 B
Java
23 lines
307 B
Java
class A {
|
|
|
|
void n(B b) {
|
|
m(b);
|
|
}
|
|
|
|
void m<caret>(B b) {
|
|
System.out.print("display for me the shape" + this + " " + b.getI() + "times");
|
|
}
|
|
}
|
|
|
|
class B {
|
|
private final int i;
|
|
|
|
public B(int i) {
|
|
this.i = i;
|
|
}
|
|
|
|
|
|
public int getI() {
|
|
return i;
|
|
}
|
|
} |