用户名:pcalh
RandomAccessFile(Filefile,Stringmode)
Createsarandomaccessfilestrea来自mtoreadfrom,andoptionallytowriteto,thefilespecifiedbytheFileargument.
"r"Openforreadingonly.Invo331215问答kinganyofthewritemethodsoftheresultingo否著明bjectwillcauseanIOExceptiontobethrown.
"rw"Openforreadingandwriting.Ifthefiledoesnotalreadyexistthenanattemptwillbemadetocreateit.
"rws"Openforreadingandwriting,aswith"rw",andalsorequirethateveryupdatetothefile'scontentormetadatabewrittensynchronouslytotheunderlyin云早外gstoragedevice.
"rwd"Openforreadingandwriting,aswith"rw",andalsorequirethateveryupdatetothefile'scontentbewrittensynchronous章文载苏促呼久准选lytotheunderlyingstoraged含国式培查evice.