●●●●● 随机存取的文件 ●●0 ●●● ●●●● ●要求文件中的记录是定长的 ●使用 Randomaccessei1e类 0 100 200 300 0 500 byte offsets 100 100 100 100 100 100 bytes tes bytes bytes bytes 2021/2/24 北京理工大学计算机系(共23页)2021/2/24 北京理工大学计算机系(共23页) 7 随机存取的文件 ⚫ 要求文件中的记录是定长的 ⚫ 使用RandomAccessFile类 100 bytes 100 bytes 100 bytes 100 bytes 100 bytes 100 bytes 0 100 200 300 400 500 byte offsets