Suppose you run the following program on Windows using the d…
Suppose you run the following program on Windows using the default ASCII encoding after the program is finished, how many bytes are there in the file t.txt? Show the contents of each byte.public class Test { public static void main(String[] args) throws java.io.IOException { try (java.io.PrintWriter output = newjava.io.PrintWriter(“t.txt”); ) { output.printf(“%s”, “1234”); output.printf(“%s”, “5678”); output.close(); } }}
Read Details