After the following program is finished, how many bytes are there in the file t.dat? Show the contents of each byte.
import java.io.*;public class Test {public static void main(String[] args) throws IOException {
try (DataOutputStream output = new DataOutputStream(
new FileOutputStream("t.dat")); ) {
output.writeInt(1234); output.writeInt(5678);output.close();
}
}
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.