RandomAccessFile support random read and write
FileInputStream support input data from a file
FileOutputStream suppot write data into a file