What will be the result of the following statements?

```
FileInputStream fstream = new FileInputStream("Input.dat");
DataInputStream inFile = new DataInputStream(fstream);

```

a. The inFile variable will reference an object that is able to read random access data from the Input.dat file.
b. The inFile variable will reference an object that is able to read text data from the Input.dat file.
c. The inFile variable will reference an object that is able to read binary data from the Input.dat file.
d. The inFile variable will reference an object that is able to write binary data to the Input.dat file.


c. The inFile variable will reference an object that is able to read binary data from the Input.dat file.

Computer Science & Information Technology

You might also like to view...

PnP stands for ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Inventory tracking, electronic toll collection, and passports use ________ technology

A) biometric B) optical C) magnetic strip D) RFID

Computer Science & Information Technology