Question: After running this program, how many bytes will be there in t.dat? int x = 1234567890; try(DataOutputStream out = new DataOutputStream(new FileOutputStream(t.da t)){ out.writeInt(x); }
After running this program, how many bytes will be there in t.dat? int x = 1234567890; try(DataOutputStream out = new DataOutputStream(new FileOutputStream("t.da t")){ out.writeInt(x); } 10 O 8 O None of the above, we must use out.close() 04 O 16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
