mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-29 10:13:37 +07:00
16 lines
323 B
Java
16 lines
323 B
Java
public class Test implements Interface{
|
|
public static int[] myField = new int[] {init()};
|
|
|
|
public static int init() {
|
|
return 1;
|
|
}
|
|
|
|
public static void main(String[] args){
|
|
Interface i = new Test();
|
|
System.out.println(i.getField());
|
|
}
|
|
|
|
public int[] getField() {
|
|
return myField;
|
|
}
|
|
} |