[java programming] Re: whats the error in the codeq

2009-07-11 Thread Sonu Mittal
thanks jason i have done it On Jul 11, 2:43 am, Jason wrote: > Hey Sonu, > > 1)  FileOutputStream throws a FileNotFoundException which must be > handled.  The easiest way to do this is to surround it in a try/catch > block. > 2)  The save() method takes two arguments, save(OutputStream o

[java programming] Re: whats the error in the codeq

2009-07-10 Thread Jason
Hey Sonu, 1) FileOutputStream throws a FileNotFoundException which must be handled. The easiest way to do this is to surround it in a try/catch block. 2) The save() method takes two arguments, save(OutputStream out, String comments). I don't quite follow what you're trying to do with the save