mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
17 lines
265 B
Java
17 lines
265 B
Java
public class Subject {
|
|
private int myInt;
|
|
|
|
public void withArray(int[] <caret>pia) {
|
|
myInt += pia[0];
|
|
}
|
|
}
|
|
|
|
class User {
|
|
private void oper() {
|
|
Subject subj = new Subject();
|
|
int[] ia = new int[]{0, 1};
|
|
ia[0] = 2;
|
|
subj.withArray(ia);
|
|
}
|
|
}
|