What is required at line n1 to enable the code to overwrite alldata.txt with data.txt?

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();

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “What is required at line n1 to enable the code to overwrite alldata.txt with data.txt?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.