Examveda
Examveda

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

D. It is used to perform mathematical operations

Answer: Option C


This Question Belongs to Java Program >> Input Output

Join The Discussion

Related Questions on Input Output