你可能感兴趣的试题
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类兼有输入输出功能
rmic rmiregistry rmid serialver
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);
无参数 OutputStream对象 InputStream对象 RandomAccessFile对象
throws throw Throwable Exception
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;
createNewFile() isDirectory() canRead() mkdir()
throws throw Throwable Exception
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)