Does FileOutputStream Overwrite Existing File?

Does FileOutputStream Overwrite Existing File? By default, FileOutputStream creates new file or overwrite when we try to write into a file. If you want to append with the existing content, then you have to use “append” flag in the FileOutputStream constructor. Does FileOutputStream create a new file? Java creating file with FileOutputStream In the second