[单项选择题] 在下面程序的空白处,应填入的正确选项是 import java.io.*; public class writeInt { public static void main(String[]a) { int[] myArray={10,20,30,40}; try{ DataoutputStream dos=new DataoutputStream(new FileOutputStream("ints.dat")); for(int i=0;i<myArray.length;i++)dos.writeInt(myArray[i]); dos.______; System.out.println("Have written binary file ints.dat"); }catch(IOException ioe){System.out.println("IO Exception");} } }
A.start()
B.close()
C.read()
D.write()