Programming Tutorials

Comment on Tutorial - FileOutputStream - sample program in Java By Abinaya



Comment Added by : Peter

Comment Added at : 2012-02-07 13:25:16

Comment on Tutorial : FileOutputStream - sample program in Java By Abinaya
FileOutputStream will create the file if it does not exist BUT it will not create any directory parts and fail with an FileNotFoundException if the directory does not exist - so maybe someone want to check if the directory exists before opening a file for writing.

View Tutorial