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