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
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
posted
0
The valid modes are indeed "r" and "rw". "+rw" is not a valid mode.
"I'm not back." - Bill Harding, Twister
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.