Given that data.txt and alldata.txt are accessible, and the code fragment:
What is required at line n1 to enable the code to overwrite alldata.txt with data.txt?
A. br.close();
B. bw.writeln();
C. br.flush();
D. bw.flush();
Given that data.txt and alldata.txt are accessible, and the code fragment:
What is required at line n1 to enable the code to overwrite alldata.txt with data.txt?
A. br.close();
B. bw.writeln();
C. br.flush();
D. bw.flush();
D
D