z*********e 发帖数: 10149 | 1 import java.io.*;
public class DataIOStreamDemo {
public static void main(String[] args){
try( BufferedOutputStream bo = new BufferedOutputStream(new
DataOutputStream( new FileOutputStream("c:\yaya.data"))) ){
bo.write(24);
bo.flush();
}
}
}
我在intelliJ 14下面测试的,project和module的jdk 1.8, language level 7,可是还
是出错 |