mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
12 lines
210 B
Java
12 lines
210 B
Java
class Test {
|
|
int local = 42;
|
|
static int global = 42;
|
|
|
|
void test(){
|
|
newMethod(local);
|
|
}
|
|
|
|
private static void newMethod(int local) {
|
|
System.out.println(local + global);
|
|
}
|
|
} |