Vidyalelo
Java Programming · Q16

Input Output

Programming · Java Programming · question 16

Q16

In Java, what does the `DataOutputStream` class do?

A.
It is used to read binary data from a file
B.
It is used to write primitive data types to an output stream
Answer
C.
It is used to read data from the keyboard
D.
It is used to read & write binary data from a text file

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board