To append data to an existing file, use _____________ to construct a FileOutputStream for file out.dat.
A) new FileOutputStream("out.dat")
B) new FileOutputStream("out.dat", false)
C) new FileOutputStream("out.dat", true)
D) new FileOutputStream(true, "out.dat")
Correct Answer:
Verified
Q15: Analyze the following code: public class Test
Q16: Suppose the xMethod() is invoked from a
Q17: Write a program that converts US dollars
Q18: Design and implement classes.
Design a class
Q19: What modifier should you use on a
Q20: Which code fragment would correctly identify the
Q21: Analyze the following program. class Test {
Public
Q23: What is displayed on the console when
Q24: After the following program is finished, how
Q25: What is the output of running class
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents