okay, I've just wrote a few programs and consulted the API and:
a)this won't compile, complains at the writeBytes method.
b) This is the correct answer, the boolean append means that the
test 'ratty' will be written at the end i.e. appending to the file rat.txt
c)this will compile and run, however without the boolean append, it will write over previous contents, and will just produce a file called rat.txt with the
string ratty in it.....while the question asks to write ratty to the end of the file.
d)Won't compile, as OutputStream is abstract and cannot be instantiated.
I hope this is all correct!