class tt
{
public static void main(String[] args)throws
IOException
{
writer();
}
public static void writer()throws IOException
{
RandomAccessFile raf=new RandomAccessFile
("A.txt","rw");
raf.write("离子".getBytes());
raf.write(32)
}
}运行结果是文件里只有离子,32哪里去了?
|
|