mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
20 lines
310 B
Java
20 lines
310 B
Java
public class Sample2 {
|
|
|
|
void test1(){
|
|
extracted();
|
|
}
|
|
|
|
private static void extracted() {
|
|
int a = 1;
|
|
int b = 2;
|
|
a = 42;
|
|
System.out.println(a);
|
|
}
|
|
|
|
void test2(){
|
|
int x = 1;
|
|
int y = 2;
|
|
y = 42;
|
|
System.out.println(x);
|
|
}
|
|
} |