View Single Post
  #3 (permalink)  
Old 11-18-2007, 10:52 PM
ravian ravian is offline
Senior Member
 
Join Date: Nov 2007
Posts: 115
ravian is on a distinguished road
Thanks. Got the idea.

I checked Java Docs and found following signature for FileOutStream constructor:

Code:
public FileOutputStream(File file) throws FileNotFoundException
which means we have to write in under try...catch block.
Reply With Quote