你可能感兴趣的试题
File f=new File("readFile"); RandomAccessFile raF=newRandomAeeess Filel(; RandomAccessFile raF=new RandomAcccssFile(d:/mydir/File3.txt,"rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile","rw"); RandomAccessFile raF=new RandomAccessFite("readwriteFile",r
RandomAccessFile类可以随机访问文件 RandomAccessFile类实现DataInput和DataOutput接口 RandomAccessFile类不能写文件 RandomAccessFile类兼有输入输出功能
File f=new File("readFile"); RandomAccessFile raF=new RandomAccessFile(; RandomAccessFile raF=new RandomAccessFile(d:/mydir/File3.txt,"rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile","rw"); RandomAccessFile raF=new RandomAceessFile("readwriteFile" ,r;
RandomAccessFileC"ch1/fildat", "read") RandomAccessFile("r", "ch1/fildat") RandomAccessFile("ch1/fildat" , "r") RandomAecessFile("read", "ch1/fildat")
File f=new File("readFile");
RandomAccessFile raF=new RandomAccessFile(f); RandomAccessFile raF=new RandomAccessFile(d://mydir//File3.txt,"rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile","rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile",rw);
File f=new File("readFile");
RandomAccessFile raF=new RandomAccessFile(f); RandomAccessFile raF=new RandomAccessFile(d:/mydir/File3.txt,"rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile","rw"); RandomAccessFile raF=new RandomAceessFile("readwriteFile" ,rw);
FileInputStream in=new FileInputStream("fildat");iskip(9);int c=iread( ); FileInputStream in=new FileInputStream("fildat");iskip(10);int c=iread( ); FileInputStream in=new FileInputStream("fildat");int c=iread( ); RandomAccessFile in=new RandomAccessFile("fildat");iskip(9);int c=ireadByte( );
RandomAccessFile FileReader FileWriter FilelnputStream
File f=new File("readFile"); RandomAccessFile raF=new RandomAccessFile(; RandomAccessFile raF=new RandomAccessFile(d://mydir//File3.txt,"rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile","rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile",r;
File f=new File("readFile"); RandomAccessFile raF=newRandomAeeess Filel(f);B) RandomAccessFile raF=new RandomAcccssFile(d:/mydir/File3.txt,"rw"); RandomAccessFile raF=new RandomAccessFile("readwriteFile","rw"); RandomAccessFile raF=new RandomAccessFite("readwriteFile",rw)
DataInput DataOutputStream RandomAccessFile FileNameFiher