this compiles. But gives a run time error. RandomAccessFile raf = new RandomAccessFile(f,"+rw"); where f is a File. The valid modes as I know them (which may be wrong) are "r" and "rw". please enlighten Prasad
posted 16 years ago
The valid modes are indeed "r" and "rw". "+rw" is not a valid mode.