First off, this is a hard mock exam! The answer given for the above question is A, C, D, E. I had only A & E. I missed C because I was sure I'd read somewhere that a RandomAccessFile will throw an exception if the file it refers to does not exist regardless of whether or not it is created "rw" or "r". I'm probably wrong but can someone confirm that these answers make sense. I'm going to try it out myself but I thought I'd throw it out to all you folk to ponder as well. Thanks ... Gerry
Joined: Oct 21, 2000
i believe the test is correct. try checking the API it should tell you.