Question: After the following program is finished, how many bytes are written to the file t . dat? ` ` ` import java . 1 0
After the following program is finished, how many bytes are written to the file tdat?
import java;
public class Test
public static void mainString args throws IOException
DataOutputStream output new DataOutputStream
new FileOutputStreamtdat";
output.writeShort ;
output.writeShort ;
output.close;
l
l
byte bytes bytes bytes.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
