Friday, March 11, 2016

Which one developer should use for writing file , FileOutputStream or FileWriter ?

Well, Good question. But all developer will get struggle to choose to write file. Developer should choose based on his/her requirements.

1. FileOutputStream -  Write the file in the streams of raw bytes like IMAGE.
2. FileWriter - Writting streams of characters (Text type of data)

No comments:

Post a Comment