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