Vidyalelo
Java Programming · Q15

Input Output

Programming · Java Programming · question 15

Q15

In Java, what is the primary purpose of the `DataInputStream` class?

A.
It is used to read text data from a file
B.
It is used to write binary data to a file
C.
It is used to read primitive data types from an input stream
Answer
D.
It is used to perform mathematical operations

Answer: Option C

Solution

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