Question: When a file is written using FileOutputStream ( filename . txt , true ) ; , what happens if filename.txt already exists? Group
When a file is written using FileOutputStreamfilenametxt true; what happens if filename.txt already exists? Group of answer choices
The new file replaces it
Data is appended to the end
Data is written to filenametxt
The user is asked what to do
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
