import java.io.": public class DemoFileStream public static void main(String l args) throws IOException { FileOutputStre
Posted: Sun May 15, 2022 11:51 am
import java.io.": public class DemoFileStream public static void main(String l args) throws IOException { FileOutputStreastput = nFileOutputStream("afile.dat"); for(int value = 1; value<=15: value++) output.write(value); output.close(); //place code below here to complete the program. You are required to add //program statements which will read the data from the file and display // the contents to screen.