mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
20 lines
358 B
Java
20 lines
358 B
Java
public class A {
|
|
public class <caret>Inner implements Runnable {
|
|
private final int c;
|
|
|
|
public Inner(int arg) {
|
|
c = arg;
|
|
}
|
|
|
|
public void run() {
|
|
System.out.println(c);
|
|
}
|
|
}
|
|
|
|
public void test() {
|
|
int c = 0;
|
|
Inner i = new Inner(1);
|
|
new Thread(i).start();
|
|
}
|
|
}
|