This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com