public class IoTool {
public static File file=new File("hello.txt");
public int len=0;
}
InputStream inputStream=new FileInputStream(**IoTool.file**);
假如我不在file这个实例前面加static的话 就会报错 说Cannot make a static reference to the non-static field IoTool.file