[Solved] Does Java’s FileWriter object attempt to create a file if file does not exist?
[ad_1] Yes, it will be created (if it does not already exist.) If the file cannot be created, an IOException is thrown. [ad_2] solved Does Java’s FileWriter object attempt to create a file if file does not exist?