Menu

(Solved) : 8 Marks Question 4 Write Java Code Asks User Enter Erther Words Append New According User Q43932416 . . .

[8 MARKS} Question 4 Write java code that asks the user to enter erther the words append or new. According to the user respon

[8 MARKS} Question 4 Write java code that asks the user to enter erther the words append or new. According to the user response, open either an existing text file to which data can be appended or a new, empty file to which data can be written In both cases, the file name is a string given by the variable filename. Show transcribed image text [8 MARKS} Question 4 Write java code that asks the user to enter erther the words append or new. According to the user response, open either an existing text file to which data can be appended or a new, empty file to which data can be written In both cases, the file name is a string given by the variable filename.

Expert Answer


Answer to [8 MARKS} Question 4 Write java code that asks the user to enter erther the words append or new. According to the user r…

OR