mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
16 lines
256 B
Java
16 lines
256 B
Java
public class A {
|
|
Thread m() {
|
|
final int x<caret> = 42;
|
|
return new Thread() {
|
|
int y = 23;
|
|
|
|
public void run() {
|
|
System.out.println(x);
|
|
}
|
|
};
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
new A().m().start();
|
|
}
|
|
} |