mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
8 lines
211 B
Java
8 lines
211 B
Java
class InStaticInitializer {
|
|
public static final String x = "Hello World";
|
|
|
|
static {
|
|
System.out.println(x);
|
|
}
|
|
//Field must be placed before initializer or illegal forward reference will happen
|
|
} |