how to create static array in class
I have (not static) class wiht static field.
The int static filed are ok
the problem is the static array - it just not complied, and i search and cannot find solution to why.
I tried wih final, without, with "new String" , with "new String " , without, but nothing work.
public class ViewFile
private File file;
private int fileType;
public final static int otherT=0;
public final static int reoprtT=1;
public final static int runT=2;
public final static int statusT=3;
public final static String fileTypeS=new String
"reoprt file", //1
"run file", //2
"Status file", //3